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.0008457/0.0008457, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008885/0.0008885, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8699/0.8699, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.584e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5486/0.5486, allocations: 153.4 MB / 1.1 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.5509, allocations: 2.17 MB / 1.102 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.5511, allocations: 17.11 kB / 1.102 GB, free: 37.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.5517, allocations: 236.8 kB / 1.103 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.5532, allocations: 0.973 MB / 1.104 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.5547, allocations: 0.8839 MB / 1.104 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.5557, allocations: 0.9842 MB / 1.105 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.5561, allocations: 260.3 kB / 1.106 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.5566, allocations: 0.5812 MB / 1.106 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.5569, allocations: 280.7 kB / 1.106 GB, free: 35.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.557, allocations: 32.28 kB / 1.107 GB, free: 35.53 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.558, allocations: 0.8463 MB / 1.107 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.5581, allocations: 161.7 kB / 1.107 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.5583, allocations: 162.8 kB / 1.108 GB, free: 35.19 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.5592, allocations: 0.9183 MB / 1.109 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5592, allocations: 0 / 1.109 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5592, allocations: 4 kB / 1.109 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.5592, allocations: 1.5 kB / 1.109 GB, free: 34.95 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.0008427/0.5601, allocations: 0.7425 MB / 1.109 GB, free: 34.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5601, allocations: 10.34 kB / 1.109 GB, free: 34.4 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.5602, allocations: 62.91 kB / 1.109 GB, free: 34.35 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006618/0.5608, allocations: 186.7 kB / 1.11 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.5612, allocations: 325.2 kB / 1.11 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5613, allocations: 26.78 kB / 1.11 GB, free: 34.06 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.5613, allocations: 31.94 kB / 1.11 GB, free: 34.05 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.5618, allocations: 424.4 kB / 1.11 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5618, allocations: 1.094 kB / 1.11 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.5618, allocations: 11.97 kB / 1.11 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.5618, allocations: 10.47 kB / 1.11 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.5621, allocations: 260.3 kB / 1.111 GB, free: 33.71 MB / 0.9948 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.001069/0.5632, allocations: 1.322 MB / 1.112 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.5635, allocations: 193.9 kB / 1.112 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.5636, allocations: 115.1 kB / 1.112 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/0.564, allocations: 125.7 kB / 1.112 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.564, allocations: 38.34 kB / 1.112 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=23): time 1.422e-06/0.564, allocations: 0 / 1.112 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23): time 0.0005732/0.5646, allocations: 353.6 kB / 1.113 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.5646, allocations: 66.33 kB / 1.113 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.5649, allocations: 422.2 kB / 1.113 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5649, allocations: 35.2 kB / 1.113 GB, free: 32.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.565, allocations: 212.7 kB / 1.113 GB, free: 31.94 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.5651, allocations: 88.2 kB / 1.113 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.5651, allocations: 45.94 kB / 1.113 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.5652, allocations: 353.6 kB / 1.114 GB, free: 31.51 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5653, allocations: 75.75 kB / 1.114 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.5654, allocations: 177.4 kB / 1.114 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.5657, allocations: 211.8 kB / 1.114 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5657, allocations: 1.094 kB / 1.114 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003251/0.566, allocations: 285.3 kB / 1.115 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.566, allocations: 5.609 kB / 1.115 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.566, allocations: 1.156 kB / 1.115 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5661, allocations: 2.25 kB / 1.115 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5662, allocations: 50.83 kB / 1.115 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5662, allocations: 2.5 kB / 1.115 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.5663, allocations: 36.08 kB / 1.115 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.5663, allocations: 13.84 kB / 1.115 GB, free: 31.11 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.955e-05/0.5664, allocations: 165.3 kB / 1.115 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.5665, allocations: 45.38 kB / 1.115 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.5668, allocations: 285.8 kB / 1.115 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5668, allocations: 3.062 kB / 1.115 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5668, allocations: 9.891 kB / 1.115 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5668, allocations: 1.5 kB / 1.115 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.5676, allocations: 0.7401 MB / 1.116 GB, free: 30.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5676, allocations: 1.219 kB / 1.116 GB, free: 30.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5677, allocations: 50.22 kB / 1.116 GB, free: 30.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5677, allocations: 7.266 kB / 1.116 GB, free: 30.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5677, allocations: 12.81 kB / 1.116 GB, free: 30.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5677, allocations: 2.859 kB / 1.116 GB, free: 30.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5677, allocations: 6.156 kB / 1.116 GB, free: 30.32 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.5682, allocations: 0.4945 MB / 1.116 GB, free: 30.03 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.5683, allocations: 73.61 kB / 1.116 GB, free: 29.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5683, allocations: 5.547 kB / 1.116 GB, free: 29.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5685, allocations: 19.17 kB / 1.116 GB, free: 29.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.5685, allocations: 27.56 kB / 1.117 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.5685, allocations: 8.422 kB / 1.117 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002254/0.5687, allocations: 303.4 kB / 1.117 GB, free: 29.82 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5687, allocations: 0 / 1.117 GB, free: 29.82 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003054/0.569, allocations: 120.6 kB / 1.117 GB, free: 29.8 MB / 0.9948 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.000759/0.5698, allocations: 1.115 MB / 1.118 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.5701, allocations: 199.6 kB / 1.118 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5701, allocations: 0 / 1.118 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.5703, allocations: 115.5 kB / 1.118 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.5709, allocations: 229.6 kB / 1.119 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.574, allocations: 3.623 MB / 1.122 GB, free: 26.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.5742, allocations: 219.1 kB / 1.122 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000223/0.5744, allocations: 93.53 kB / 1.122 GB, free: 26.49 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.5746, allocations: 141 kB / 1.123 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.5746, allocations: 0 / 1.123 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.6043, allocations: 13.65 MB / 1.136 GB, free: 24.45 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.744, allocations: 5.5 kB / 1.136 GB, free: 24.45 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.73074506688863]