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.002044/0.002044, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002314/0.002314, allocations: 210.6 kB / 22.24 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.785 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.885/2.885, allocations: 476 MB / 0.7699 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 176] 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.002115/0.002115, allocations: 67.5 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3199, allocations: 169.9 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1932/0.5131, allocations: 153.5 MB / 1.432 GB, free: 2.387 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004036/0.5172, allocations: 2.166 MB / 1.435 GB, free: 220 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005371/0.5177, allocations: 19.81 kB / 1.435 GB, free: 200 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.5186, allocations: 230.4 kB / 1.435 GB, free: 15.97 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.521, allocations: 0.959 MB / 1.436 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.5232, allocations: 0.8444 MB / 1.437 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.5246, allocations: 0.9702 MB / 1.437 GB, free: 13.19 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.525, allocations: 259.5 kB / 1.438 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.5258, allocations: 486.2 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.5262, allocations: 306.7 kB / 1.438 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.5262, allocations: 32 kB / 1.439 GB, free: 12.12 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.5278, allocations: 0.8258 MB / 1.439 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.528, allocations: 147.5 kB / 1.439 GB, free: 11.15 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.5282, allocations: 207 kB / 1.44 GB, free: 10.95 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.5295, allocations: 0.8794 MB / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5295, allocations: 4 kB / 1.441 GB, free: 10.06 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5295, allocations: 0 / 1.441 GB, free: 10.06 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5295, allocations: 0 / 1.441 GB, free: 10.06 MB / 1.139 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.001247/0.5307, allocations: 0.7377 MB / 1.441 GB, free: 9.293 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5308, allocations: 8.031 kB / 1.441 GB, free: 9.285 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.011e-05/0.5309, allocations: 78.47 kB / 1.441 GB, free: 9.199 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.5321, allocations: 183.4 kB / 1.441 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.5327, allocations: 331.9 kB / 1.442 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.5328, allocations: 24.66 kB / 1.442 GB, free: 8.641 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.5328, allocations: 35.95 kB / 1.442 GB, free: 8.605 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.5335, allocations: 412.4 kB / 1.442 GB, free: 8.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5335, allocations: 3.938 kB / 1.442 GB, free: 8.156 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.5335, allocations: 19.94 kB / 1.442 GB, free: 8.137 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.5336, allocations: 11.98 kB / 1.442 GB, free: 8.125 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.5341, allocations: 253.8 kB / 1.443 GB, free: 7.879 MB / 1.139 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.001795/0.5359, allocations: 1.323 MB / 1.444 GB, free: 6.488 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.5363, allocations: 202.3 kB / 1.444 GB, free: 6.281 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.5365, allocations: 104.8 kB / 1.444 GB, free: 6.176 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/0.5372, allocations: 139.8 kB / 1.444 GB, free: 6.039 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5372, allocations: 30.56 kB / 1.444 GB, free: 6 MB / 1.139 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.5372, allocations: 0 / 1.444 GB, free: 6 MB / 1.139 GB Notification: Performance of matching and sorting (n=23): time 0.0009102/0.5381, allocations: 359.8 kB / 1.445 GB, free: 5.645 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.5382, allocations: 55.41 kB / 1.445 GB, free: 5.578 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.5387, allocations: 422 kB / 1.445 GB, free: 5.16 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.5387, allocations: 33.7 kB / 1.445 GB, free: 5.121 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5389, allocations: 212.4 kB / 1.445 GB, free: 4.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.5389, allocations: 91.25 kB / 1.445 GB, free: 4.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.539, allocations: 53.66 kB / 1.445 GB, free: 4.762 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5392, allocations: 350.7 kB / 1.446 GB, free: 4.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.5394, allocations: 79.95 kB / 1.446 GB, free: 4.332 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.5397, allocations: 183.4 kB / 1.446 GB, free: 4.129 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.5401, allocations: 214.6 kB / 1.446 GB, free: 3.91 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5401, allocations: 0 / 1.446 GB, free: 3.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005448/0.5406, allocations: 285.2 kB / 1.447 GB, free: 3.625 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5406, allocations: 4 kB / 1.447 GB, free: 3.621 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5406, allocations: 0 / 1.447 GB, free: 3.621 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5407, allocations: 8 kB / 1.447 GB, free: 3.613 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.5409, allocations: 51.92 kB / 1.447 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5409, allocations: 11.95 kB / 1.447 GB, free: 3.551 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.5411, allocations: 31.78 kB / 1.447 GB, free: 3.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.5412, allocations: 8 kB / 1.447 GB, free: 3.512 MB / 1.139 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.0001793/0.5414, allocations: 165.8 kB / 1.447 GB, free: 3.34 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.5414, allocations: 43.72 kB / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.542, allocations: 279.9 kB / 1.447 GB, free: 3.012 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.542, allocations: 4 kB / 1.447 GB, free: 3.008 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.542, allocations: 7.938 kB / 1.447 GB, free: 3 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.542, allocations: 0 / 1.447 GB, free: 3 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5434, allocations: 0.7428 MB / 1.448 GB, free: 2.191 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5434, allocations: 4.109 kB / 1.448 GB, free: 2.188 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.5436, allocations: 47.84 kB / 1.448 GB, free: 2.141 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5436, allocations: 8.188 kB / 1.448 GB, free: 2.133 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.5436, allocations: 8.094 kB / 1.448 GB, free: 2.125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5436, allocations: 4 kB / 1.448 GB, free: 2.121 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.5436, allocations: 0 / 1.448 GB, free: 2.121 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.5445, allocations: 0.5131 MB / 1.448 GB, free: 1.574 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.5447, allocations: 75.64 kB / 1.448 GB, free: 1.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.5447, allocations: 8 kB / 1.448 GB, free: 1.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.545, allocations: 19.98 kB / 1.449 GB, free: 1.473 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.5451, allocations: 23.84 kB / 1.449 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.5451, allocations: 12 kB / 1.449 GB, free: 1.438 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000348/0.5454, allocations: 307.1 kB / 1.449 GB, free: 1.145 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5454, allocations: 0 / 1.449 GB, free: 1.145 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004634/0.5459, allocations: 115.8 kB / 1.449 GB, free: 1.031 MB / 1.139 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.001375/0.5473, allocations: 1.111 MB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.5478, allocations: 200.5 kB / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5478, allocations: 0 / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.548, allocations: 111.9 kB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5491, allocations: 219.5 kB / 1.451 GB, free: 15.36 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.5543, allocations: 3.704 MB / 1.454 GB, free: 11.53 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.5546, allocations: 220.1 kB / 1.454 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003254/0.5549, allocations: 91.28 kB / 1.454 GB, free: 11.2 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.5551, allocations: 143.4 kB / 1.455 GB, free: 11.06 MB / 1.154 GB Notification: Performance of SimCode: time 6.62e-07/0.5551, allocations: 0 / 1.455 GB, free: 11.06 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.601, allocations: 13.55 MB / 1.468 GB, free: 13.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.52, allocations: 4.062 kB / 1.468 GB, free: 13.88 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.554781611077487]