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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001144/0.001144, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001069/0.001069, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.84 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7526/1.036, allocations: 173.8 MB / 1.189 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005119/1.041, allocations: 2.295 MB / 1.191 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/1.042, allocations: 17 kB / 1.191 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/1.043, allocations: 227.3 kB / 1.191 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002724/1.046, allocations: 0.9329 MB / 1.192 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/1.048, allocations: 0.8238 MB / 1.193 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001574/1.05, allocations: 0.9723 MB / 1.194 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/1.05, allocations: 333.5 kB / 1.194 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007941/1.051, allocations: 457.4 kB / 1.194 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/1.052, allocations: 316.1 kB / 1.195 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/1.052, allocations: 32.78 kB / 1.195 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/1.054, allocations: 0.9891 MB / 1.196 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/1.054, allocations: 147.7 kB / 1.196 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/1.054, allocations: 235.2 kB / 1.196 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/1.056, allocations: 0.8998 MB / 1.197 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.056, allocations: 4.875 kB / 1.197 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.385e-06/1.056, allocations: 0 / 1.197 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.056, allocations: 0 / 1.197 GB, free: 12.44 MB / 0.9044 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.001235/1.057, allocations: 0.8025 MB / 1.198 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.057, allocations: 9.953 kB / 1.198 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.058, allocations: 183.3 kB / 1.198 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/1.059, allocations: 391.7 kB / 1.198 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.059, allocations: 21.31 kB / 1.198 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/1.059, allocations: 32.09 kB / 1.198 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/1.059, allocations: 368.4 kB / 1.199 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.059, allocations: 7.938 kB / 1.199 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/1.059, allocations: 16.56 kB / 1.199 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/1.06, allocations: 10.19 kB / 1.199 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/1.06, allocations: 264 kB / 1.199 GB, free: 10.92 MB / 0.9044 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.001733/1.062, allocations: 1.678 MB / 1.201 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/1.062, allocations: 201.8 kB / 1.201 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/1.062, allocations: 113.6 kB / 1.201 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/1.063, allocations: 0.8742 MB / 1.202 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.063, allocations: 34.56 kB / 1.202 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.894e-06/1.063, allocations: 4 kB / 1.202 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.000867/1.064, allocations: 355.6 kB / 1.202 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.064, allocations: 53.75 kB / 1.202 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/1.065, allocations: 419 kB / 1.203 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.065, allocations: 32.27 kB / 1.203 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.065, allocations: 220.8 kB / 1.203 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/1.065, allocations: 77.5 kB / 1.203 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/1.065, allocations: 54.67 kB / 1.203 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.065, allocations: 355.5 kB / 1.203 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.065, allocations: 79.72 kB / 1.203 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/1.066, allocations: 131.5 kB / 1.204 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/1.066, allocations: 205.6 kB / 1.204 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.066, allocations: 0 / 1.204 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004919/1.066, allocations: 286.8 kB / 1.204 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.066, allocations: 9.406 kB / 1.204 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.066, allocations: 0.7812 kB / 1.204 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.067, allocations: 2.844 kB / 1.204 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/1.067, allocations: 49.25 kB / 1.204 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.067, allocations: 3.938 kB / 1.204 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.067, allocations: 31.7 kB / 1.204 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/1.067, allocations: 20.03 kB / 1.204 GB, free: 6.57 MB / 0.9044 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.0001586/1.067, allocations: 156.2 kB / 1.204 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/1.067, allocations: 48.09 kB / 1.204 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/1.068, allocations: 289.2 kB / 1.205 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.068, allocations: 2.719 kB / 1.205 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.068, allocations: 1.062 kB / 1.205 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.068, allocations: 0 / 1.205 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/1.069, allocations: 0.8124 MB / 1.205 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.069, allocations: 2.438 kB / 1.205 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/1.069, allocations: 48.62 kB / 1.205 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/1.069, allocations: 4.312 kB / 1.205 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.069, allocations: 11.38 kB / 1.205 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.069, allocations: 5.125 kB / 1.205 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.069, allocations: 6.25 kB / 1.205 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/1.07, allocations: 0.5126 MB / 1.206 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/1.07, allocations: 148.3 kB / 1.206 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/1.07, allocations: 6.812 kB / 1.206 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.071, allocations: 11.36 kB / 1.206 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/1.071, allocations: 21.52 kB / 1.206 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/1.071, allocations: 16.25 kB / 1.206 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002955/1.071, allocations: 300.2 kB / 1.206 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/1.071, allocations: 0 / 1.206 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004784/1.072, allocations: 120.6 kB / 1.207 GB, free: 4.809 MB / 0.9044 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.00043/1.072, allocations: 199.1 kB / 1.207 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004889/1.072, allocations: 206.3 kB / 1.207 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.073, allocations: 2.688 kB / 1.207 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/1.073, allocations: 114.6 kB / 1.207 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.074, allocations: 231.5 kB / 1.207 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/1.075, allocations: 0.8877 MB / 1.208 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/1.076, allocations: 0.8209 MB / 1.209 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002772/1.076, allocations: 84 kB / 1.209 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/1.076, allocations: 36.91 kB / 1.209 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.076, allocations: 7.938 kB / 1.209 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of Templates: time 0.01481/1.091, allocations: 8.031 MB / 1.217 GB, free: 13.51 MB / 0.92 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches