Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001417/0.001417, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.678/2.678, allocations: 476.8 MB / 0.7707 GB, free: 4.211 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_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.001981/0.001981, allocations: 65.98 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3555, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2011/0.5566, allocations: 177.5 MB / 1.457 GB, free: 9.426 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004127/0.5607, allocations: 2.316 MB / 1.459 GB, free: 7.105 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.5612, allocations: 19.81 kB / 1.459 GB, free: 7.086 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.5619, allocations: 238.4 kB / 1.459 GB, free: 6.852 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.5642, allocations: 0.9879 MB / 1.46 GB, free: 5.859 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.5663, allocations: 0.8528 MB / 1.461 GB, free: 5.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.5676, allocations: 0.9818 MB / 1.462 GB, free: 4.02 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.5681, allocations: 268.3 kB / 1.462 GB, free: 3.754 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.5689, allocations: 474.2 kB / 1.463 GB, free: 3.289 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.5693, allocations: 334.7 kB / 1.463 GB, free: 2.961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.5694, allocations: 32 kB / 1.463 GB, free: 2.93 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.5712, allocations: 1.071 MB / 1.464 GB, free: 1.855 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.5714, allocations: 147.5 kB / 1.464 GB, free: 1.711 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.5717, allocations: 246.7 kB / 1.464 GB, free: 1.469 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.5731, allocations: 0.9106 MB / 1.465 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5731, allocations: 0 / 1.465 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5731, allocations: 0 / 1.465 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5731, allocations: 0 / 1.465 GB, free: 0.5586 MB / 1.154 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.001284/0.5744, allocations: 0.7378 MB / 1.466 GB, free: 15.79 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5744, allocations: 8.031 kB / 1.466 GB, free: 15.78 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.535e-05/0.5745, allocations: 70.53 kB / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.5757, allocations: 191.4 kB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.5764, allocations: 331.8 kB / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.5764, allocations: 28.66 kB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.5765, allocations: 28 kB / 1.467 GB, free: 15.11 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.5771, allocations: 369 kB / 1.467 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5772, allocations: 0 / 1.467 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.5772, allocations: 15.94 kB / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.5772, allocations: 16 kB / 1.467 GB, free: 14.69 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.5777, allocations: 261.7 kB / 1.467 GB, free: 14.43 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.5796, allocations: 1.633 MB / 1.469 GB, free: 12.67 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.58, allocations: 194.5 kB / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.5803, allocations: 116.7 kB / 1.469 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/0.5809, allocations: 123.9 kB / 1.469 GB, free: 12.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.581, allocations: 34.56 kB / 1.469 GB, free: 12.19 MB / 1.17 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.581, allocations: 0 / 1.469 GB, free: 12.19 MB / 1.17 GB Notification: Performance of matching and sorting (n=23): time 0.0009051/0.5819, allocations: 368.1 kB / 1.47 GB, free: 11.83 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5819, allocations: 59.34 kB / 1.47 GB, free: 11.76 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.5824, allocations: 414 kB / 1.47 GB, free: 11.35 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.5824, allocations: 29.7 kB / 1.47 GB, free: 11.31 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.5826, allocations: 220.4 kB / 1.47 GB, free: 11.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.5827, allocations: 87.23 kB / 1.471 GB, free: 11.01 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.5828, allocations: 53.69 kB / 1.471 GB, free: 10.95 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5829, allocations: 354.7 kB / 1.471 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.5831, allocations: 71.95 kB / 1.471 GB, free: 10.52 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.5834, allocations: 128 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.5838, allocations: 218.4 kB / 1.471 GB, free: 10.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5838, allocations: 4.109 kB / 1.471 GB, free: 10.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005364/0.5843, allocations: 285.1 kB / 1.472 GB, free: 9.875 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5843, allocations: 4 kB / 1.472 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5843, allocations: 0 / 1.472 GB, free: 9.871 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5843, allocations: 8.031 kB / 1.472 GB, free: 9.863 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.5846, allocations: 51.91 kB / 1.472 GB, free: 9.812 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.5846, allocations: 3.938 kB / 1.472 GB, free: 9.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.5848, allocations: 35.77 kB / 1.472 GB, free: 9.773 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5848, allocations: 12 kB / 1.472 GB, free: 9.762 MB / 1.17 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.0001693/0.585, allocations: 157.8 kB / 1.472 GB, free: 9.598 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.5851, allocations: 51.7 kB / 1.472 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.5856, allocations: 281.2 kB / 1.472 GB, free: 9.258 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.5856, allocations: 4 kB / 1.472 GB, free: 9.254 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5856, allocations: 3.938 kB / 1.472 GB, free: 9.25 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5857, allocations: 3.984 kB / 1.472 GB, free: 9.246 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5869, allocations: 0.7793 MB / 1.473 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5869, allocations: 3.938 kB / 1.473 GB, free: 8.395 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.5871, allocations: 43.98 kB / 1.473 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5871, allocations: 4 kB / 1.473 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5872, allocations: 8 kB / 1.473 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5872, allocations: 3.984 kB / 1.473 GB, free: 8.336 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5872, allocations: 12.12 kB / 1.473 GB, free: 8.324 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.588, allocations: 0.5022 MB / 1.474 GB, free: 7.789 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.5881, allocations: 75.66 kB / 1.474 GB, free: 7.715 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.5882, allocations: 4 kB / 1.474 GB, free: 7.711 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.5884, allocations: 15.98 kB / 1.474 GB, free: 7.695 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.5885, allocations: 23.84 kB / 1.474 GB, free: 7.672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.5885, allocations: 12 kB / 1.474 GB, free: 7.66 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003267/0.5888, allocations: 303.1 kB / 1.474 GB, free: 7.367 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5888, allocations: 0 / 1.474 GB, free: 7.367 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004445/0.5893, allocations: 119.8 kB / 1.474 GB, free: 7.25 MB / 1.17 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.001255/0.5905, allocations: 1.112 MB / 1.475 GB, free: 6.094 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.591, allocations: 211.1 kB / 1.475 GB, free: 5.891 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.591, allocations: 3.938 kB / 1.475 GB, free: 5.887 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.5912, allocations: 104.3 kB / 1.475 GB, free: 5.785 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5923, allocations: 231 kB / 1.476 GB, free: 5.559 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.5972, allocations: 3.692 MB / 1.479 GB, free: 1.738 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.5976, allocations: 0.8233 MB / 1.48 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000284/0.5979, allocations: 87.33 kB / 1.48 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.5981, allocations: 143.4 kB / 1.48 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of SimCode: time 6.21e-07/0.5981, allocations: 0 / 1.48 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.6426, allocations: 12.37 MB / 1.492 GB, free: 4.562 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.85, allocations: 14.23 kB / 1.492 GB, free: 4.555 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable ori.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.dp in file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.dp from file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.v in file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.v from file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.315872805000254]