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.001754/0.001754, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001731/0.001731, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.809 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.023/3.023, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="cs",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.001942/0.001942, allocations: 71.14 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1887/0.554, allocations: 153.4 MB / 1.476 GB, free: 7.559 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.5578, allocations: 2.168 MB / 1.478 GB, free: 5.387 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.5582, allocations: 23.81 kB / 1.479 GB, free: 5.363 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.5589, allocations: 234.4 kB / 1.479 GB, free: 5.133 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.561, allocations: 0.9334 MB / 1.48 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.5631, allocations: 0.8571 MB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.5645, allocations: 0.9701 MB / 1.481 GB, free: 2.367 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.5649, allocations: 275.4 kB / 1.482 GB, free: 2.094 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.5661, allocations: 0.6189 MB / 1.482 GB, free: 1.473 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.5666, allocations: 330.6 kB / 1.483 GB, free: 1.148 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.5666, allocations: 32 kB / 1.483 GB, free: 1.117 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.5682, allocations: 0.822 MB / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.5684, allocations: 147.5 kB / 1.484 GB, free: 152 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.5686, allocations: 199.2 kB / 1.484 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.5701, allocations: 0.8797 MB / 1.485 GB, free: 15.07 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5701, allocations: 4 kB / 1.485 GB, free: 15.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5701, allocations: 0 / 1.485 GB, free: 15.07 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.5701, allocations: 0 / 1.485 GB, free: 15.07 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.00125/0.5713, allocations: 0.7416 MB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5714, allocations: 8.031 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.5714, allocations: 8.656 kB / 1.485 GB, free: 14.28 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.5715, allocations: 70.47 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.5727, allocations: 183.5 kB / 1.486 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.5734, allocations: 331.8 kB / 1.486 GB, free: 13.67 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5734, allocations: 24.64 kB / 1.486 GB, free: 13.65 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.5735, allocations: 32 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.5742, allocations: 424.4 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5742, allocations: 0 / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.5742, allocations: 15.94 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.5743, allocations: 11.98 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.5748, allocations: 261.7 kB / 1.487 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.5765, allocations: 1.312 MB / 1.488 GB, free: 11.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.5769, allocations: 194.5 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.5771, allocations: 108.8 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.5779, allocations: 131.7 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5779, allocations: 34.56 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.5779, allocations: 8 kB / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0009264/0.5789, allocations: 355.3 kB / 1.489 GB, free: 10.66 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5789, allocations: 55.41 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.5794, allocations: 417.9 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.5794, allocations: 33.7 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5796, allocations: 220.4 kB / 1.489 GB, free: 9.918 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.5797, allocations: 95.22 kB / 1.49 GB, free: 9.824 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.5798, allocations: 49.81 kB / 1.49 GB, free: 9.77 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5799, allocations: 354.7 kB / 1.49 GB, free: 9.414 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.5801, allocations: 75.95 kB / 1.49 GB, free: 9.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.5804, allocations: 176.4 kB / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.5808, allocations: 209.5 kB / 1.49 GB, free: 8.93 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5808, allocations: 32 / 1.49 GB, free: 8.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005636/0.5813, allocations: 290.5 kB / 1.491 GB, free: 8.641 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5814, allocations: 4 kB / 1.491 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5814, allocations: 0 / 1.491 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.5814, allocations: 7.984 kB / 1.491 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5816, allocations: 55.86 kB / 1.491 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5816, allocations: 0 / 1.491 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5819, allocations: 35.77 kB / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.5819, allocations: 16.03 kB / 1.491 GB, free: 8.523 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.0001775/0.5821, allocations: 169.7 kB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.5822, allocations: 43.72 kB / 1.491 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.5828, allocations: 277.3 kB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5828, allocations: 15.86 kB / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5828, allocations: 0 / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5828, allocations: 0 / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.584, allocations: 0.7442 MB / 1.492 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.584, allocations: 4 kB / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.5842, allocations: 44.02 kB / 1.492 GB, free: 7.152 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.5843, allocations: 7.984 kB / 1.492 GB, free: 7.145 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.5843, allocations: 8 kB / 1.492 GB, free: 7.137 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.5843, allocations: 7.984 kB / 1.492 GB, free: 7.129 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5843, allocations: 8.125 kB / 1.492 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.5852, allocations: 0.5037 MB / 1.493 GB, free: 6.586 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.5853, allocations: 71.66 kB / 1.493 GB, free: 6.516 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.5854, allocations: 4 kB / 1.493 GB, free: 6.512 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.5856, allocations: 15.98 kB / 1.493 GB, free: 6.496 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.5857, allocations: 27.84 kB / 1.493 GB, free: 6.469 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.5857, allocations: 12 kB / 1.493 GB, free: 6.457 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003388/0.5861, allocations: 307.1 kB / 1.493 GB, free: 6.156 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5861, allocations: 0 / 1.493 GB, free: 6.156 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004516/0.5865, allocations: 115.8 kB / 1.493 GB, free: 6.043 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.001393/0.5879, allocations: 1.114 MB / 1.494 GB, free: 4.887 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.5884, allocations: 207.7 kB / 1.494 GB, free: 4.684 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5884, allocations: 0 / 1.494 GB, free: 4.684 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.5887, allocations: 108.2 kB / 1.494 GB, free: 4.578 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5898, allocations: 213.8 kB / 1.495 GB, free: 4.375 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.5952, allocations: 3.707 MB / 1.498 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.5954, allocations: 224 kB / 1.498 GB, free: 304 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.5957, allocations: 87.33 kB / 1.499 GB, free: 216 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.5959, allocations: 135.4 kB / 1.499 GB, free: 80 kB / 1.186 GB Notification: Performance of SimCode: time 7.81e-07/0.5959, allocations: 0 / 1.499 GB, free: 80 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.6343, allocations: 13.2 MB / 1.512 GB, free: 3.285 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.87, allocations: 17.36 kB / 1.512 GB, free: 3.27 MB / 1.201 GB " [Timeout remaining time 287] (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: 19.402432566974312]