Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006229/0.006229, allocations: 99.97 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 191.5 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.8841/1.214, allocations: 173.8 MB / 1.336 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004578/1.218, allocations: 2.299 MB / 1.339 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/1.219, allocations: 13.34 kB / 1.339 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009077/1.22, allocations: 241.2 kB / 1.339 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/1.223, allocations: 0.9766 MB / 1.34 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/1.225, allocations: 0.8316 MB / 1.341 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001909/1.227, allocations: 0.971 MB / 1.342 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000593/1.228, allocations: 325.7 kB / 1.342 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009807/1.229, allocations: 474.5 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004445/1.229, allocations: 305.7 kB / 1.343 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/1.23, allocations: 33.25 kB / 1.343 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/1.232, allocations: 0.9969 MB / 1.344 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/1.232, allocations: 149.6 kB / 1.344 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/1.232, allocations: 232.5 kB / 1.344 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/1.234, allocations: 0.9182 MB / 1.345 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.234, allocations: 3.938 kB / 1.345 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/1.234, allocations: 0 / 1.345 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.234, allocations: 5.062 kB / 1.345 GB, free: 10.53 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001328/1.236, allocations: 0.816 MB / 1.346 GB, free: 9.895 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.236, allocations: 9.938 kB / 1.346 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/1.237, allocations: 185 kB / 1.346 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/1.238, allocations: 384.7 kB / 1.346 GB, free: 9.547 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.238, allocations: 33.38 kB / 1.346 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/1.238, allocations: 32.73 kB / 1.346 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/1.238, allocations: 362.5 kB / 1.347 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.238, allocations: 9.109 kB / 1.347 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/1.239, allocations: 19.31 kB / 1.347 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/1.239, allocations: 11.81 kB / 1.347 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/1.239, allocations: 256.5 kB / 1.347 GB, free: 9.234 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/1.241, allocations: 1.677 MB / 1.349 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/1.241, allocations: 201.2 kB / 1.349 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/1.242, allocations: 117.7 kB / 1.349 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.243, allocations: 0.8716 MB / 1.35 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.243, allocations: 38.33 kB / 1.35 GB, free: 6.754 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/1.243, allocations: 1.188 kB / 1.35 GB, free: 6.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008956/1.244, allocations: 359.7 kB / 1.35 GB, free: 6.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.244, allocations: 54.38 kB / 1.35 GB, free: 6.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/1.244, allocations: 420.2 kB / 1.351 GB, free: 6.355 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.244, allocations: 30.89 kB / 1.351 GB, free: 6.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.244, allocations: 214.7 kB / 1.351 GB, free: 6.145 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/1.244, allocations: 95.33 kB / 1.351 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/1.244, allocations: 50.86 kB / 1.351 GB, free: 6.035 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.245, allocations: 352.2 kB / 1.351 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/1.245, allocations: 80.75 kB / 1.351 GB, free: 5.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/1.245, allocations: 121.7 kB / 1.351 GB, free: 5.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/1.245, allocations: 207.5 kB / 1.352 GB, free: 5.523 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.246, allocations: 0 / 1.352 GB, free: 5.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005653/1.246, allocations: 291.6 kB / 1.352 GB, free: 5.395 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.246, allocations: 7.562 kB / 1.352 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.246, allocations: 4.5 kB / 1.352 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.246, allocations: 5.594 kB / 1.352 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/1.246, allocations: 53.95 kB / 1.352 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.246, allocations: 2.156 kB / 1.352 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/1.247, allocations: 35.61 kB / 1.352 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/1.247, allocations: 10.2 kB / 1.352 GB, free: 5.359 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.247, allocations: 162.7 kB / 1.352 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/1.247, allocations: 44.72 kB / 1.352 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/1.248, allocations: 287.4 kB / 1.352 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.248, allocations: 2.188 kB / 1.352 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.248, allocations: 3.531 kB / 1.352 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.248, allocations: 3.938 kB / 1.353 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/1.249, allocations: 0.8071 MB / 1.353 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.249, allocations: 5.469 kB / 1.353 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/1.249, allocations: 50.23 kB / 1.353 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.249, allocations: 3.375 kB / 1.353 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.249, allocations: 3.969 kB / 1.353 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.249, allocations: 2.969 kB / 1.353 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.249, allocations: 5.406 kB / 1.353 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/1.25, allocations: 0.5165 MB / 1.354 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/1.25, allocations: 147.5 kB / 1.354 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/1.25, allocations: 8 kB / 1.354 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.25, allocations: 16.39 kB / 1.354 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/1.25, allocations: 17.23 kB / 1.354 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/1.251, allocations: 14.03 kB / 1.354 GB, free: 4.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003195/1.251, allocations: 301.7 kB / 1.354 GB, free: 3.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.251, allocations: 1.188 kB / 1.354 GB, free: 3.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004953/1.251, allocations: 119.6 kB / 1.354 GB, free: 3.891 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004207/1.252, allocations: 197.5 kB / 1.355 GB, free: 3.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004926/1.252, allocations: 207.5 kB / 1.355 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.252, allocations: 5.094 kB / 1.355 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/1.253, allocations: 120.7 kB / 1.355 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/1.254, allocations: 221.9 kB / 1.355 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.255, allocations: 0.9106 MB / 1.356 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.256, allocations: 0.8247 MB / 1.357 GB, free: 2.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002883/1.256, allocations: 84.8 kB / 1.357 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/1.256, allocations: 35.09 kB / 1.357 GB, free: 2.27 MB / 1.029 GB Notification: Performance of SimCode: time 2.41e-07/1.256, allocations: 3.938 kB / 1.357 GB, free: 2.266 MB / 1.029 GB Notification: Performance of Templates: time 0.01639/1.273, allocations: 8.077 MB / 1.365 GB, free: 15.21 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches