Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 224.4 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.422/3.422, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 67.67 kB / 1.187 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4936, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2395/0.7332, allocations: 153.5 MB / 1.514 GB, free: 3.574 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.7381, allocations: 2.297 MB / 1.517 GB, free: 1.273 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.7385, allocations: 19.81 kB / 1.517 GB, free: 1.254 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.7394, allocations: 234.4 kB / 1.517 GB, free: 1.023 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.7423, allocations: 0.9801 MB / 1.518 GB, free: 40 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.7448, allocations: 0.8486 MB / 1.519 GB, free: 15.19 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.7464, allocations: 0.9815 MB / 1.52 GB, free: 14.21 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/0.747, allocations: 271.3 kB / 1.52 GB, free: 13.94 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.7483, allocations: 0.619 MB / 1.521 GB, free: 13.32 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.7487, allocations: 310.7 kB / 1.521 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.7488, allocations: 39.94 kB / 1.521 GB, free: 12.98 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.7506, allocations: 0.8414 MB / 1.522 GB, free: 12.13 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.7508, allocations: 163.4 kB / 1.522 GB, free: 11.97 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.751, allocations: 199.1 kB / 1.522 GB, free: 11.78 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.7525, allocations: 0.9187 MB / 1.523 GB, free: 10.86 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7525, allocations: 0 / 1.523 GB, free: 10.86 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7525, allocations: 0 / 1.523 GB, free: 10.86 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.7525, allocations: 0 / 1.523 GB, free: 10.86 MB / 1.217 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.001444/0.754, allocations: 0.761 MB / 1.524 GB, free: 10.06 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.754, allocations: 8.031 kB / 1.524 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.7556, allocations: 235.3 kB / 1.524 GB, free: 9.824 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.7564, allocations: 331.9 kB / 1.524 GB, free: 9.477 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.7564, allocations: 24.66 kB / 1.524 GB, free: 9.453 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.7565, allocations: 31.95 kB / 1.524 GB, free: 9.422 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.7574, allocations: 456.3 kB / 1.525 GB, free: 8.938 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.7574, allocations: 4 kB / 1.525 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.7574, allocations: 8 kB / 1.525 GB, free: 8.926 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.7575, allocations: 23.94 kB / 1.525 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.7582, allocations: 305.7 kB / 1.525 GB, free: 8.602 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.7601, allocations: 1.286 MB / 1.526 GB, free: 7.262 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/0.7609, allocations: 266.3 kB / 1.527 GB, free: 6.992 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.7612, allocations: 140.7 kB / 1.527 GB, free: 6.852 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.7617, allocations: 71.92 kB / 1.527 GB, free: 6.781 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.7617, allocations: 30.56 kB / 1.527 GB, free: 6.742 MB / 1.217 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.7617, allocations: 0 / 1.527 GB, free: 6.742 MB / 1.217 GB Notification: Performance of matching and sorting (n=23): time 0.001236/0.763, allocations: 427.1 kB / 1.527 GB, free: 6.32 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.763, allocations: 55.41 kB / 1.527 GB, free: 6.254 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.7634, allocations: 325.7 kB / 1.528 GB, free: 5.926 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.7634, allocations: 29.81 kB / 1.528 GB, free: 5.891 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7636, allocations: 228.4 kB / 1.528 GB, free: 5.664 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.7637, allocations: 87.22 kB / 1.528 GB, free: 5.578 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-05/0.7638, allocations: 49.7 kB / 1.528 GB, free: 5.523 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.764, allocations: 346.7 kB / 1.528 GB, free: 5.176 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.7643, allocations: 107.9 kB / 1.528 GB, free: 5.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.7647, allocations: 203.7 kB / 1.529 GB, free: 4.848 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.7653, allocations: 253.9 kB / 1.529 GB, free: 4.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7653, allocations: 4 kB / 1.529 GB, free: 4.586 MB / 1.217 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000759/0.766, allocations: 321.2 kB / 1.529 GB, free: 4.266 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.7661, allocations: 12.02 kB / 1.529 GB, free: 4.254 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7661, allocations: 0 / 1.529 GB, free: 4.254 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.7661, allocations: 4 kB / 1.529 GB, free: 4.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.7664, allocations: 59.91 kB / 1.529 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7664, allocations: 7.922 kB / 1.529 GB, free: 4.184 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.7667, allocations: 31.81 kB / 1.529 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.7667, allocations: 8 kB / 1.529 GB, free: 4.145 MB / 1.217 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.0002392/0.767, allocations: 165.8 kB / 1.529 GB, free: 3.973 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.7671, allocations: 39.77 kB / 1.529 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/0.7679, allocations: 323 kB / 1.53 GB, free: 3.613 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.7679, allocations: 8 kB / 1.53 GB, free: 3.605 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.7679, allocations: 3.984 kB / 1.53 GB, free: 3.602 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.7679, allocations: 3.938 kB / 1.53 GB, free: 3.598 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.7694, allocations: 0.7803 MB / 1.531 GB, free: 2.762 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7695, allocations: 0 / 1.531 GB, free: 2.762 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.7698, allocations: 55.89 kB / 1.531 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.7698, allocations: 3.938 kB / 1.531 GB, free: 2.703 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.7698, allocations: 12.19 kB / 1.531 GB, free: 2.691 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7698, allocations: 4 kB / 1.531 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.7698, allocations: 4 kB / 1.531 GB, free: 2.684 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.771, allocations: 0.5787 MB / 1.531 GB, free: 2.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.7712, allocations: 75.64 kB / 1.531 GB, free: 1.996 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.7712, allocations: 4 kB / 1.531 GB, free: 1.992 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.7716, allocations: 23.97 kB / 1.531 GB, free: 1.969 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.7717, allocations: 23.91 kB / 1.531 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.7717, allocations: 8 kB / 1.531 GB, free: 1.938 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002781/0.772, allocations: 235.1 kB / 1.532 GB, free: 1.711 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.772, allocations: 0 / 1.532 GB, free: 1.711 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005093/0.7725, allocations: 123.8 kB / 1.532 GB, free: 1.59 MB / 1.217 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.0003403/0.7728, allocations: 155.3 kB / 1.532 GB, free: 1.426 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007291/0.7735, allocations: 263.2 kB / 1.532 GB, free: 1.172 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7735, allocations: 8.062 kB / 1.532 GB, free: 1.164 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.7739, allocations: 129.2 kB / 1.532 GB, free: 1.039 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.7748, allocations: 162.9 kB / 1.532 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.7768, allocations: 0.9717 MB / 1.533 GB, free: 15.85 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.777, allocations: 223.4 kB / 1.534 GB, free: 15.61 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.7772, allocations: 35.42 kB / 1.534 GB, free: 15.57 MB / 1.232 GB Notification: Performance of SimCode: time 8.92e-07/0.7772, allocations: 0 / 1.534 GB, free: 15.57 MB / 1.232 GB Notification: Performance of Templates: time 0.01046/0.7876, allocations: 6.267 MB / 1.54 GB, free: 9.375 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.319317642133683]