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.001808/0.001808, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002377/0.002377, allocations: 216.5 kB / 22.26 MB, free: 5.082 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 8.031 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.114/3.114, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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: "" <> 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: 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.001991/0.001991, allocations: 66.41 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2079/0.5409, allocations: 177.6 MB / 1.499 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.545, allocations: 2.317 MB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005699/0.5456, allocations: 23.81 kB / 1.502 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.5465, allocations: 234.4 kB / 1.502 GB, free: 13.15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.5489, allocations: 0.9815 MB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.5512, allocations: 0.8581 MB / 1.504 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.5527, allocations: 0.974 MB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.5532, allocations: 271.5 kB / 1.505 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5546, allocations: 0.6151 MB / 1.505 GB, free: 9.449 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.5552, allocations: 334.5 kB / 1.506 GB, free: 9.121 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.373e-05/0.5553, allocations: 32 kB / 1.506 GB, free: 9.09 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.5573, allocations: 1.056 MB / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.5575, allocations: 151.5 kB / 1.507 GB, free: 7.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.5579, allocations: 242.7 kB / 1.507 GB, free: 7.645 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.5596, allocations: 0.9072 MB / 1.508 GB, free: 6.734 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5596, allocations: 4 kB / 1.508 GB, free: 6.73 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5596, allocations: 0 / 1.508 GB, free: 6.73 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.5596, allocations: 0 / 1.508 GB, free: 6.73 MB / 1.201 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.001479/0.5611, allocations: 0.7456 MB / 1.509 GB, free: 5.953 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5612, allocations: 8.031 kB / 1.509 GB, free: 5.945 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.217e-05/0.5613, allocations: 66.53 kB / 1.509 GB, free: 5.871 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.5626, allocations: 183.4 kB / 1.509 GB, free: 5.691 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.5633, allocations: 331.8 kB / 1.509 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.5633, allocations: 24.64 kB / 1.509 GB, free: 5.32 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.5634, allocations: 32 kB / 1.509 GB, free: 5.289 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.564, allocations: 376.9 kB / 1.51 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.564, allocations: 0 / 1.51 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.5641, allocations: 15.94 kB / 1.51 GB, free: 4.879 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.5641, allocations: 12 kB / 1.51 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.5646, allocations: 265.7 kB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.5667, allocations: 1.633 MB / 1.512 GB, free: 2.844 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.5671, allocations: 192.3 kB / 1.512 GB, free: 2.648 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.5673, allocations: 104.8 kB / 1.512 GB, free: 2.543 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006801/0.5679, allocations: 123.9 kB / 1.512 GB, free: 2.422 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.568, allocations: 38.42 kB / 1.512 GB, free: 2.375 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.193e-06/0.568, allocations: 0 / 1.512 GB, free: 2.375 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.000912/0.5689, allocations: 366.7 kB / 1.512 GB, free: 2.012 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.5689, allocations: 55.41 kB / 1.512 GB, free: 1.945 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.5694, allocations: 425.9 kB / 1.513 GB, free: 1.52 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.5695, allocations: 29.7 kB / 1.513 GB, free: 1.484 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.5696, allocations: 208.4 kB / 1.513 GB, free: 1.277 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.5697, allocations: 95.2 kB / 1.513 GB, free: 1.184 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.5698, allocations: 53.7 kB / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.57, allocations: 354.7 kB / 1.514 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.5702, allocations: 79.95 kB / 1.514 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.5704, allocations: 124.3 kB / 1.514 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.5708, allocations: 217.5 kB / 1.514 GB, free: 344 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.5708, allocations: 0 / 1.514 GB, free: 344 kB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005671/0.5714, allocations: 281.1 kB / 1.514 GB, free: 56 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5714, allocations: 9.719 kB / 1.514 GB, free: 48 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5714, allocations: 0 / 1.514 GB, free: 48 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5714, allocations: 4.031 kB / 1.514 GB, free: 44 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.5717, allocations: 52.12 kB / 1.514 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.5717, allocations: 15.81 kB / 1.514 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.5719, allocations: 31.72 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.5719, allocations: 8 kB / 1.514 GB, free: 15.94 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.0001827/0.5721, allocations: 161.8 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.5722, allocations: 43.72 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.5728, allocations: 297.2 kB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5728, allocations: 0 / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5728, allocations: 3.938 kB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5728, allocations: 4 kB / 1.515 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.574, allocations: 0.7793 MB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.574, allocations: 0 / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.5743, allocations: 51.91 kB / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5743, allocations: 0 / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.5743, allocations: 8 kB / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.5743, allocations: 4 kB / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5743, allocations: 4.188 kB / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.5751, allocations: 0.51 MB / 1.516 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5753, allocations: 67.67 kB / 1.516 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.5753, allocations: 7.984 kB / 1.516 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.5756, allocations: 19.92 kB / 1.516 GB, free: 13.87 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.5756, allocations: 27.81 kB / 1.516 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.5757, allocations: 8 kB / 1.516 GB, free: 13.84 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003459/0.576, allocations: 307.1 kB / 1.517 GB, free: 13.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.576, allocations: 0 / 1.517 GB, free: 13.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004612/0.5765, allocations: 111.8 kB / 1.517 GB, free: 13.43 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.001331/0.5778, allocations: 1.121 MB / 1.518 GB, free: 12.26 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.5783, allocations: 205.7 kB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5783, allocations: 0 / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.5785, allocations: 107.8 kB / 1.518 GB, free: 11.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5795, allocations: 219.9 kB / 1.518 GB, free: 11.75 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/0.5847, allocations: 3.695 MB / 1.522 GB, free: 7.914 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.5851, allocations: 0.8311 MB / 1.523 GB, free: 7.055 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.5854, allocations: 87.33 kB / 1.523 GB, free: 6.969 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5856, allocations: 131.4 kB / 1.523 GB, free: 6.84 MB / 1.217 GB Notification: Performance of SimCode: time 5.31e-07/0.5856, allocations: 0 / 1.523 GB, free: 6.84 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.6319, allocations: 12.37 MB / 1.535 GB, free: 10.74 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.96, allocations: 6.234 kB / 1.535 GB, free: 10.74 MB / 1.232 GB " [Timeout remaining time 288] (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/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: 18.485912601929158]