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.001812/0.001812, 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.002503/0.002503, allocations: 214.3 kB / 22.25 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.035 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 2.98/2.98, 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.001992/0.001992, allocations: 64.77 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3411, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2059/0.547, allocations: 177.6 MB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.5512, allocations: 2.315 MB / 1.502 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004545/0.5516, allocations: 19.81 kB / 1.502 GB, free: 13.36 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.5525, allocations: 246.3 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.5548, allocations: 0.984 MB / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.557, allocations: 0.8525 MB / 1.504 GB, free: 11.28 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.5585, allocations: 0.9663 MB / 1.505 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.559, allocations: 271.4 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.5603, allocations: 0.6228 MB / 1.505 GB, free: 9.418 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.5608, allocations: 322.7 kB / 1.506 GB, free: 9.102 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.5608, allocations: 32 kB / 1.506 GB, free: 9.07 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.563, allocations: 1.064 MB / 1.507 GB, free: 8.004 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.5632, allocations: 151.5 kB / 1.507 GB, free: 7.855 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.5635, allocations: 242.7 kB / 1.507 GB, free: 7.617 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5653, allocations: 0.9071 MB / 1.508 GB, free: 6.707 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5653, allocations: 0 / 1.508 GB, free: 6.707 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5653, allocations: 4 kB / 1.508 GB, free: 6.703 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.5653, allocations: 3.938 kB / 1.508 GB, free: 6.699 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.001428/0.5667, allocations: 0.73 MB / 1.509 GB, free: 5.938 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5668, allocations: 12.03 kB / 1.509 GB, free: 5.926 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.152e-05/0.5669, allocations: 74.47 kB / 1.509 GB, free: 5.844 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.5681, allocations: 183.4 kB / 1.509 GB, free: 5.664 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.5688, allocations: 331.8 kB / 1.509 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.5688, allocations: 36.58 kB / 1.509 GB, free: 5.277 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.5689, allocations: 28 kB / 1.509 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.5695, allocations: 365 kB / 1.51 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5695, allocations: 4 kB / 1.51 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.5696, allocations: 15.94 kB / 1.51 GB, free: 4.848 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.5696, allocations: 15.98 kB / 1.51 GB, free: 4.832 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.5701, allocations: 249.8 kB / 1.51 GB, free: 4.59 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.5721, allocations: 1.641 MB / 1.512 GB, free: 2.816 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.5726, allocations: 190.5 kB / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.5728, allocations: 108.7 kB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/0.5735, allocations: 131.8 kB / 1.512 GB, free: 2.383 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5735, allocations: 42.42 kB / 1.512 GB, free: 2.332 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.5735, allocations: 0 / 1.512 GB, free: 2.332 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0009421/0.5744, allocations: 354.7 kB / 1.512 GB, free: 1.98 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5745, allocations: 55.41 kB / 1.512 GB, free: 1.914 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.5751, allocations: 418 kB / 1.513 GB, free: 1.496 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.5752, allocations: 33.7 kB / 1.513 GB, free: 1.457 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5753, allocations: 216.4 kB / 1.513 GB, free: 1.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.5754, allocations: 87.23 kB / 1.513 GB, free: 1.156 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.5755, allocations: 53.69 kB / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5757, allocations: 350.7 kB / 1.514 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5759, allocations: 83.89 kB / 1.514 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.5761, allocations: 132.3 kB / 1.514 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.5765, allocations: 204.9 kB / 1.514 GB, free: 320 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5765, allocations: 0 / 1.514 GB, free: 320 kB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005562/0.5771, allocations: 283.1 kB / 1.514 GB, free: 32 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5771, allocations: 8 kB / 1.514 GB, free: 24 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.5771, allocations: 4.109 kB / 1.514 GB, free: 20 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5771, allocations: 3.938 kB / 1.514 GB, free: 16 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.5774, allocations: 55.91 kB / 1.514 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5774, allocations: 7.938 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.5776, allocations: 31.77 kB / 1.514 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.5776, allocations: 11.94 kB / 1.514 GB, free: 15.91 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.0001942/0.5778, allocations: 165.8 kB / 1.515 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.5779, allocations: 51.7 kB / 1.515 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.5785, allocations: 279.5 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5785, allocations: 4.094 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5785, allocations: 7.922 kB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5785, allocations: 3.984 kB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5798, allocations: 0.7813 MB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5799, allocations: 7.984 kB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.5801, allocations: 43.92 kB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.5801, allocations: 4.188 kB / 1.516 GB, free: 14.49 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.5801, allocations: 8 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5801, allocations: 7.984 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5801, allocations: 0 / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008128/0.5809, allocations: 0.5039 MB / 1.516 GB, free: 13.94 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.5811, allocations: 71.66 kB / 1.516 GB, free: 13.87 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.5811, allocations: 8 kB / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.5814, allocations: 15.98 kB / 1.516 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.5815, allocations: 35.75 kB / 1.516 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5815, allocations: 4 kB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003424/0.5818, allocations: 303.1 kB / 1.517 GB, free: 13.51 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5818, allocations: 0 / 1.517 GB, free: 13.51 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004548/0.5823, allocations: 115.8 kB / 1.517 GB, free: 13.4 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.001402/0.5837, allocations: 1.105 MB / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.5842, allocations: 211.7 kB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5842, allocations: 0 / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.5844, allocations: 103.9 kB / 1.518 GB, free: 11.94 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5854, allocations: 233.6 kB / 1.518 GB, free: 11.72 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.5909, allocations: 3.697 MB / 1.522 GB, free: 7.883 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.5914, allocations: 0.8233 MB / 1.523 GB, free: 7.031 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.5917, allocations: 83.34 kB / 1.523 GB, free: 6.949 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.5919, allocations: 139.4 kB / 1.523 GB, free: 6.812 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/0.5919, allocations: 0 / 1.523 GB, free: 6.812 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04626/0.6382, allocations: 12.38 MB / 1.535 GB, free: 10.71 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.72, allocations: 0 / 1.535 GB, free: 10.71 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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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] "Error: Could not read variable ori.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.dp in file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.dp from file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.v in file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.v from file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.215434136998738]