Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001846/0.001846, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002132/0.002132, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.083/3.083, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001989/0.001989, allocations: 70.19 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.276, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1899/0.4659, allocations: 153.5 MB / 1.477 GB, free: 6.945 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.4698, allocations: 2.174 MB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.4701, allocations: 19.81 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006906/0.4708, allocations: 234.4 kB / 1.479 GB, free: 4.52 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.4728, allocations: 0.9334 MB / 1.48 GB, free: 3.582 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.4748, allocations: 0.8596 MB / 1.481 GB, free: 2.727 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.476, allocations: 0.974 MB / 1.482 GB, free: 1.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.4765, allocations: 267.5 kB / 1.482 GB, free: 1.484 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4775, allocations: 0.6229 MB / 1.483 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000434/0.478, allocations: 326.6 kB / 1.483 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.478, allocations: 32 kB / 1.483 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.4794, allocations: 0.8219 MB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.4796, allocations: 159.5 kB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4798, allocations: 199.1 kB / 1.484 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.481, allocations: 0.8837 MB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.481, allocations: 0 / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.142e-06/0.481, allocations: 0 / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.481, allocations: 4 kB / 1.485 GB, free: 14.44 MB / 1.186 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.001308/0.4823, allocations: 0.731 MB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4824, allocations: 12.03 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.4837, allocations: 183.4 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.4843, allocations: 335.8 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.4844, allocations: 24.66 kB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.4844, allocations: 32 kB / 1.487 GB, free: 13.08 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.4851, allocations: 420.4 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4852, allocations: 4 kB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.4852, allocations: 12 kB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.4852, allocations: 19.88 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.4858, allocations: 253.8 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.4875, allocations: 1.234 MB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.4879, allocations: 190.5 kB / 1.489 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.4882, allocations: 109.4 kB / 1.489 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/0.4889, allocations: 127.7 kB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4889, allocations: 46.55 kB / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.4889, allocations: 0 / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0009434/0.4899, allocations: 343.1 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4899, allocations: 59.39 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.4903, allocations: 321.7 kB / 1.49 GB, free: 9.836 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.4903, allocations: 33.7 kB / 1.49 GB, free: 9.797 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4905, allocations: 216.5 kB / 1.49 GB, free: 9.582 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.4906, allocations: 91.2 kB / 1.49 GB, free: 9.492 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.4907, allocations: 49.7 kB / 1.49 GB, free: 9.438 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4909, allocations: 350.8 kB / 1.49 GB, free: 9.086 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.4911, allocations: 76.05 kB / 1.49 GB, free: 9.012 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.4913, allocations: 179.4 kB / 1.49 GB, free: 8.812 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.4918, allocations: 213.2 kB / 1.491 GB, free: 8.594 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4918, allocations: 4.031 kB / 1.491 GB, free: 8.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005672/0.4923, allocations: 277.2 kB / 1.491 GB, free: 8.312 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4924, allocations: 4 kB / 1.491 GB, free: 8.309 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4924, allocations: 4 kB / 1.491 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4924, allocations: 0 / 1.491 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.4926, allocations: 51.91 kB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4926, allocations: 4 kB / 1.491 GB, free: 8.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4928, allocations: 19.83 kB / 1.491 GB, free: 8.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.4929, allocations: 20.02 kB / 1.491 GB, free: 8.211 MB / 1.186 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.0001815/0.493, allocations: 169.7 kB / 1.491 GB, free: 8.035 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.4931, allocations: 39.77 kB / 1.491 GB, free: 7.996 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006339/0.4938, allocations: 278.4 kB / 1.492 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4938, allocations: 4 kB / 1.492 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4938, allocations: 0 / 1.492 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4938, allocations: 3.938 kB / 1.492 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.495, allocations: 0.6941 MB / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.495, allocations: 0 / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.4953, allocations: 51.91 kB / 1.492 GB, free: 6.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4953, allocations: 7.938 kB / 1.492 GB, free: 6.902 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4953, allocations: 8 kB / 1.492 GB, free: 6.895 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4953, allocations: 192 / 1.492 GB, free: 6.895 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4953, allocations: 8 kB / 1.492 GB, free: 6.887 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.4962, allocations: 0.4994 MB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4963, allocations: 59.7 kB / 1.493 GB, free: 6.297 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4964, allocations: 4 kB / 1.493 GB, free: 6.293 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.4966, allocations: 15.98 kB / 1.493 GB, free: 6.277 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.4967, allocations: 15.97 kB / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.4967, allocations: 19.98 kB / 1.493 GB, free: 6.242 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002397/0.497, allocations: 227.2 kB / 1.493 GB, free: 6.027 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.497, allocations: 0 / 1.493 GB, free: 6.027 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004685/0.4974, allocations: 131.7 kB / 1.493 GB, free: 5.898 MB / 1.186 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.0003169/0.4977, allocations: 179.1 kB / 1.493 GB, free: 5.711 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.4982, allocations: 203.7 kB / 1.494 GB, free: 5.512 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4982, allocations: 4 kB / 1.494 GB, free: 5.508 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.4985, allocations: 107.8 kB / 1.494 GB, free: 5.402 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.4994, allocations: 161.7 kB / 1.494 GB, free: 5.246 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.5009, allocations: 0.8958 MB / 1.495 GB, free: 4.301 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.5012, allocations: 227.4 kB / 1.495 GB, free: 4.055 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.5014, allocations: 70.92 kB / 1.495 GB, free: 3.988 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.5015, allocations: 27.44 kB / 1.495 GB, free: 3.961 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.5015, allocations: 4 kB / 1.495 GB, free: 3.957 MB / 1.186 GB Notification: Performance of Templates: time 0.01378/0.5153, allocations: 7.307 MB / 1.502 GB, free: 12.82 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.596143000992015]