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.0008365/0.0008365, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008065/0.0008065, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.673/1.673, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.856e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5461/0.5461, allocations: 153.4 MB / 1.131 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.5485, allocations: 2.165 MB / 1.133 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.5487, allocations: 20.19 kB / 1.133 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.5493, allocations: 236.6 kB / 1.133 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.5506, allocations: 0.966 MB / 1.134 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.5519, allocations: 0.8824 MB / 1.135 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007681/0.5527, allocations: 0.9714 MB / 1.136 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.553, allocations: 267.6 kB / 1.136 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000812/0.5538, allocations: 0.7334 MB / 1.137 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.5541, allocations: 273.2 kB / 1.137 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.5541, allocations: 32.34 kB / 1.137 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008855/0.555, allocations: 0.8328 MB / 1.138 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.5551, allocations: 165.6 kB / 1.138 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.5553, allocations: 162.5 kB / 1.138 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008979/0.5562, allocations: 0.919 MB / 1.139 GB, free: 5.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5562, allocations: 0.5625 kB / 1.139 GB, free: 5.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5562, allocations: 4 kB / 1.139 GB, free: 5.176 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.5562, allocations: 0 / 1.139 GB, free: 5.176 MB / 0.9948 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.0008195/0.557, allocations: 0.7381 MB / 1.14 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.557, allocations: 9.656 kB / 1.14 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.5571, allocations: 63.59 kB / 1.14 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.5577, allocations: 189.9 kB / 1.14 GB, free: 4.527 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.5582, allocations: 329.2 kB / 1.14 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5582, allocations: 29.5 kB / 1.14 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.5582, allocations: 31.41 kB / 1.14 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.5586, allocations: 420.1 kB / 1.141 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5587, allocations: 5.094 kB / 1.141 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.5587, allocations: 11.34 kB / 1.141 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.5587, allocations: 11.81 kB / 1.141 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.559, allocations: 255.2 kB / 1.141 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.5601, allocations: 1.321 MB / 1.142 GB, free: 2.934 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.5604, allocations: 192 kB / 1.143 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.5605, allocations: 111.9 kB / 1.143 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.5609, allocations: 129.9 kB / 1.143 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.5609, allocations: 37.39 kB / 1.143 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.5609, allocations: 0 / 1.143 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23): time 0.0005658/0.5615, allocations: 356.9 kB / 1.143 GB, free: 2.625 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.5615, allocations: 54.56 kB / 1.143 GB, free: 2.562 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.5618, allocations: 421.6 kB / 1.144 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.5618, allocations: 31.58 kB / 1.144 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.5619, allocations: 217.1 kB / 1.144 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.5619, allocations: 91.09 kB / 1.144 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.562, allocations: 49.89 kB / 1.144 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.562, allocations: 351 kB / 1.144 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5622, allocations: 74.72 kB / 1.144 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.5623, allocations: 182.7 kB / 1.145 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.5626, allocations: 212.4 kB / 1.145 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5626, allocations: 0 / 1.145 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003315/0.5629, allocations: 288.8 kB / 1.145 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5629, allocations: 5.344 kB / 1.145 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5629, allocations: 1.156 kB / 1.145 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5629, allocations: 2.922 kB / 1.145 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.5631, allocations: 50.67 kB / 1.145 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.5631, allocations: 6.5 kB / 1.145 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.5632, allocations: 32.84 kB / 1.145 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5632, allocations: 12.55 kB / 1.145 GB, free: 1.309 MB / 0.9948 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 9.797e-05/0.5633, allocations: 168.2 kB / 1.145 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.5633, allocations: 44.56 kB / 1.145 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.5637, allocations: 283.2 kB / 1.146 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5637, allocations: 2.938 kB / 1.146 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5637, allocations: 1.719 kB / 1.146 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5637, allocations: 5.594 kB / 1.146 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.5645, allocations: 0.7428 MB / 1.146 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5645, allocations: 1.312 kB / 1.146 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5646, allocations: 45.33 kB / 1.146 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5646, allocations: 12.31 kB / 1.146 GB, free: 0.5273 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5646, allocations: 12.44 kB / 1.147 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.5646, allocations: 2.688 kB / 1.147 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5646, allocations: 1.828 kB / 1.147 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.5651, allocations: 0.5057 MB / 1.147 GB, free: 216 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/0.5652, allocations: 70.48 kB / 1.147 GB, free: 176 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.5652, allocations: 8.562 kB / 1.147 GB, free: 172 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5653, allocations: 16.3 kB / 1.147 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.5654, allocations: 20.23 kB / 1.147 GB, free: 164 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5654, allocations: 7.625 kB / 1.147 GB, free: 164 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002167/0.5656, allocations: 303.6 kB / 1.147 GB, free: 16 kB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5656, allocations: 0 / 1.147 GB, free: 16 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003193/0.5659, allocations: 115.7 kB / 1.148 GB, free: 15.99 MB / 1.01 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.001003/0.5669, allocations: 1.124 MB / 1.149 GB, free: 15.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.5673, allocations: 200.4 kB / 1.149 GB, free: 15.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5673, allocations: 1.125 kB / 1.149 GB, free: 15.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.5674, allocations: 110.7 kB / 1.149 GB, free: 15.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.5681, allocations: 234.3 kB / 1.149 GB, free: 14.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.5715, allocations: 3.633 MB / 1.153 GB, free: 12.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.5717, allocations: 218.7 kB / 1.153 GB, free: 12.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.5719, allocations: 89.34 kB / 1.153 GB, free: 12.67 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.5721, allocations: 140.4 kB / 1.153 GB, free: 12.57 MB / 1.01 GB Notification: Performance of SimCode: time 4.81e-07/0.5721, allocations: 1.438 kB / 1.153 GB, free: 12.57 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.599, allocations: 13.65 MB / 1.166 GB, free: 10.65 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.666, allocations: 13.95 kB / 1.166 GB, free: 10.64 MB / 1.01 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] 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/jenkins/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: 11.5569176832214]