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.001789/0.001789, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.565/2.565, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.84 kB / 0.8692 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6801, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2014/0.8816, allocations: 173.8 MB / 1.187 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.8856, allocations: 2.301 MB / 1.189 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.886, allocations: 15.94 kB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.8868, allocations: 230.4 kB / 1.189 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.8892, allocations: 0.9293 MB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.8916, allocations: 0.8182 MB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.893, allocations: 0.9623 MB / 1.192 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.8935, allocations: 331 kB / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.8941, allocations: 450.3 kB / 1.193 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.8945, allocations: 318.6 kB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.8946, allocations: 36 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.8966, allocations: 0.9859 MB / 1.194 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.8968, allocations: 147.6 kB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.8971, allocations: 246.7 kB / 1.195 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.8985, allocations: 0.8804 MB / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.8985, allocations: 0 / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8985, allocations: 0 / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.8985, allocations: 4 kB / 1.195 GB, free: 11.42 MB / 0.9512 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.001329/0.8999, allocations: 0.8061 MB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8999, allocations: 12.03 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.9012, allocations: 183.1 kB / 1.196 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.9017, allocations: 377.4 kB / 1.197 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.9017, allocations: 20.66 kB / 1.197 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.9018, allocations: 32 kB / 1.197 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.9024, allocations: 373 kB / 1.197 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.9024, allocations: 4 kB / 1.197 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.9025, allocations: 12 kB / 1.197 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.9025, allocations: 19.92 kB / 1.197 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/0.903, allocations: 254 kB / 1.197 GB, free: 9.234 MB / 0.9512 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.001884/0.9049, allocations: 1.679 MB / 1.199 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.9053, allocations: 210.5 kB / 1.199 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.9056, allocations: 112.8 kB / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.9067, allocations: 0.8701 MB / 1.2 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.9067, allocations: 34.56 kB / 1.2 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.9067, allocations: 0 / 1.2 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0009048/0.9076, allocations: 354.5 kB / 1.201 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.9077, allocations: 59.41 kB / 1.201 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.9081, allocations: 414 kB / 1.201 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.9082, allocations: 29.7 kB / 1.201 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.9083, allocations: 220.2 kB / 1.201 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.9084, allocations: 78.84 kB / 1.201 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.9085, allocations: 57.55 kB / 1.201 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9087, allocations: 358.7 kB / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.9089, allocations: 71.95 kB / 1.202 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.9091, allocations: 125.5 kB / 1.202 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.9095, allocations: 211.8 kB / 1.202 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9095, allocations: 11.94 kB / 1.202 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005108/0.91, allocations: 277 kB / 1.202 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.91, allocations: 7.984 kB / 1.202 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9101, allocations: 0 / 1.202 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9101, allocations: 4 kB / 1.202 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.9103, allocations: 51.95 kB / 1.202 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.9103, allocations: 0 / 1.202 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.9106, allocations: 39.61 kB / 1.203 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.9106, allocations: 12 kB / 1.203 GB, free: 3.59 MB / 0.9512 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.0001564/0.9108, allocations: 157.8 kB / 1.203 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.9109, allocations: 51.44 kB / 1.203 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005884/0.9114, allocations: 286.4 kB / 1.203 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9115, allocations: 4 kB / 1.203 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9115, allocations: 0 / 1.203 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9115, allocations: 3.938 kB / 1.203 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.9127, allocations: 0.8074 MB / 1.204 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9128, allocations: 0 / 1.204 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.913, allocations: 47.91 kB / 1.204 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.913, allocations: 4 kB / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.913, allocations: 4 kB / 1.204 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.9131, allocations: 7.938 kB / 1.204 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.9131, allocations: 12.12 kB / 1.204 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.9138, allocations: 0.5067 MB / 1.204 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.914, allocations: 144.6 kB / 1.205 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.9141, allocations: 19.97 kB / 1.205 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.9143, allocations: 11.98 kB / 1.205 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.9144, allocations: 19.92 kB / 1.205 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.9144, allocations: 12 kB / 1.205 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003127/0.9147, allocations: 307.1 kB / 1.205 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9148, allocations: 0 / 1.205 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004422/0.9152, allocations: 119.8 kB / 1.205 GB, free: 0.9492 MB / 0.9512 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.0004319/0.9156, allocations: 186.9 kB / 1.205 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.9162, allocations: 215.7 kB / 1.205 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9162, allocations: 0 / 1.205 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.9164, allocations: 116.2 kB / 1.205 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.9175, allocations: 237.8 kB / 1.206 GB, free: 216 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.9192, allocations: 0.899 MB / 1.207 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.9196, allocations: 0.8272 MB / 1.207 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003261/0.9199, allocations: 87.34 kB / 1.207 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.92, allocations: 31.44 kB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.92, allocations: 0 / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.01572/0.9358, allocations: 8.046 MB / 1.215 GB, free: 6.395 MB / 0.9669 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