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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.236/3.236, allocations: 489.3 MB / 0.7687 GB, free: 3.84 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 1.103 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297/1.299, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2903/1.59, allocations: 173.8 MB / 1.432 GB, free: 5.996 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005536/1.595, allocations: 2.304 MB / 1.435 GB, free: 4.117 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009787/1.596, allocations: 17.12 kB / 1.435 GB, free: 4.109 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/1.597, allocations: 231 kB / 1.435 GB, free: 3.914 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/1.601, allocations: 0.9237 MB / 1.436 GB, free: 3.211 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/1.604, allocations: 0.8284 MB / 1.437 GB, free: 2.605 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002102/1.606, allocations: 0.9612 MB / 1.437 GB, free: 2.047 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008602/1.607, allocations: 332.7 kB / 1.438 GB, free: 1.844 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/1.609, allocations: 0.5875 MB / 1.438 GB, free: 1.496 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/1.61, allocations: 304.2 kB / 1.439 GB, free: 1.316 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/1.61, allocations: 32.66 kB / 1.439 GB, free: 1.316 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/1.612, allocations: 0.9894 MB / 1.44 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/1.613, allocations: 142.8 kB / 1.44 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005601/1.613, allocations: 235.7 kB / 1.44 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/1.616, allocations: 0.9113 MB / 1.441 GB, free: 15.97 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.616, allocations: 0 / 1.441 GB, free: 15.97 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.123e-06/1.616, allocations: 4 kB / 1.441 GB, free: 15.96 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.506e-05/1.616, allocations: 0 / 1.441 GB, free: 15.96 MB / 1.139 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.002075/1.618, allocations: 0.8168 MB / 1.442 GB, free: 15.27 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.618, allocations: 9.5 kB / 1.442 GB, free: 15.27 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.62, allocations: 187.1 kB / 1.442 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/1.621, allocations: 391.6 kB / 1.442 GB, free: 14.83 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/1.621, allocations: 25.44 kB / 1.442 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/1.621, allocations: 27.91 kB / 1.442 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/1.622, allocations: 368.9 kB / 1.443 GB, free: 14.56 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.622, allocations: 4 kB / 1.443 GB, free: 14.56 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/1.622, allocations: 10.97 kB / 1.443 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/1.622, allocations: 18.48 kB / 1.443 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/1.622, allocations: 263.1 kB / 1.443 GB, free: 14.42 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/1.625, allocations: 1.68 MB / 1.445 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/1.625, allocations: 205.3 kB / 1.445 GB, free: 12.76 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/1.626, allocations: 111.9 kB / 1.445 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/1.627, allocations: 0.8696 MB / 1.446 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.627, allocations: 37.33 kB / 1.446 GB, free: 11.68 MB / 1.139 GB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/1.627, allocations: 4 kB / 1.446 GB, free: 11.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=23): time 0.001093/1.628, allocations: 365.3 kB / 1.446 GB, free: 11.5 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.628, allocations: 55 kB / 1.446 GB, free: 11.43 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/1.629, allocations: 419.9 kB / 1.447 GB, free: 11.18 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/1.629, allocations: 31.17 kB / 1.447 GB, free: 11.15 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/1.629, allocations: 217.4 kB / 1.447 GB, free: 10.95 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/1.629, allocations: 88.61 kB / 1.447 GB, free: 10.87 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/1.629, allocations: 61.69 kB / 1.447 GB, free: 10.8 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.629, allocations: 354.7 kB / 1.447 GB, free: 10.45 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.629, allocations: 79.95 kB / 1.447 GB, free: 10.37 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/1.63, allocations: 123.4 kB / 1.447 GB, free: 10.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/1.63, allocations: 205.7 kB / 1.448 GB, free: 10.02 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.63, allocations: 0 / 1.448 GB, free: 10.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006009/1.631, allocations: 281.2 kB / 1.448 GB, free: 9.742 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.631, allocations: 8.062 kB / 1.448 GB, free: 9.734 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.631, allocations: 4 kB / 1.448 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.631, allocations: 0 / 1.448 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.631, allocations: 51.97 kB / 1.448 GB, free: 9.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.631, allocations: 11.88 kB / 1.448 GB, free: 9.668 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/1.631, allocations: 35.72 kB / 1.448 GB, free: 9.633 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/1.631, allocations: 8 kB / 1.448 GB, free: 9.625 MB / 1.139 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.0002059/1.632, allocations: 157.8 kB / 1.448 GB, free: 9.461 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/1.632, allocations: 47.75 kB / 1.448 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/1.632, allocations: 285.1 kB / 1.449 GB, free: 9.125 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.632, allocations: 8 kB / 1.449 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.632, allocations: 3.938 kB / 1.449 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.632, allocations: 3.984 kB / 1.449 GB, free: 9.109 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/1.634, allocations: 0.8075 MB / 1.449 GB, free: 8.227 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.634, allocations: 0 / 1.449 GB, free: 8.227 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/1.634, allocations: 51.91 kB / 1.449 GB, free: 8.176 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/1.634, allocations: 4 kB / 1.449 GB, free: 8.172 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/1.634, allocations: 8.188 kB / 1.449 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.634, allocations: 4 kB / 1.449 GB, free: 8.16 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.634, allocations: 4 kB / 1.449 GB, free: 8.156 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/1.635, allocations: 0.5043 MB / 1.45 GB, free: 7.621 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/1.635, allocations: 152.8 kB / 1.45 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/1.635, allocations: 4 kB / 1.45 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/1.636, allocations: 15.98 kB / 1.45 GB, free: 7.434 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/1.636, allocations: 27.97 kB / 1.45 GB, free: 7.406 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/1.636, allocations: 7.938 kB / 1.45 GB, free: 7.398 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003643/1.636, allocations: 299.1 kB / 1.45 GB, free: 7.109 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.7e-07/1.636, allocations: 4 kB / 1.45 GB, free: 7.105 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005359/1.637, allocations: 115.8 kB / 1.45 GB, free: 6.992 MB / 1.139 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.0005471/1.637, allocations: 201.4 kB / 1.451 GB, free: 6.793 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000541/1.638, allocations: 209.6 kB / 1.451 GB, free: 6.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.638, allocations: 4 kB / 1.451 GB, free: 6.586 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/1.638, allocations: 122.3 kB / 1.451 GB, free: 6.469 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.639, allocations: 213.3 kB / 1.451 GB, free: 6.254 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/1.641, allocations: 0.9467 MB / 1.452 GB, free: 5.254 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/1.642, allocations: 0.8233 MB / 1.453 GB, free: 4.406 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/1.642, allocations: 31.44 kB / 1.453 GB, free: 4.375 MB / 1.139 GB Notification: Performance of SimCode: time 5.31e-07/1.642, allocations: 4 kB / 1.453 GB, free: 4.371 MB / 1.139 GB Notification: Performance of Templates: time 0.01297/1.655, allocations: 6.64 MB / 1.459 GB, free: 13.81 MB / 1.154 GB " [Timeout remaining time 298] 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_2/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: 15.285967432893813]