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.001816/0.001816, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002423/0.002423, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.18/3.18, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.002005/0.002005, allocations: 65.03 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2198/0.5695, allocations: 177.3 MB / 1.494 GB, free: 1.367 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.5738, allocations: 2.317 MB / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.5743, allocations: 19.81 kB / 1.496 GB, free: 15.03 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.5751, allocations: 238.4 kB / 1.496 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.5776, allocations: 0.9684 MB / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.58, allocations: 0.8342 MB / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.5814, allocations: 0.9584 MB / 1.499 GB, free: 12.03 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.5819, allocations: 286.9 kB / 1.499 GB, free: 11.74 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.5832, allocations: 0.6111 MB / 1.5 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.5837, allocations: 314.7 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.5837, allocations: 32 kB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.5857, allocations: 1.052 MB / 1.501 GB, free: 9.734 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.5859, allocations: 143.5 kB / 1.502 GB, free: 9.594 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.5861, allocations: 242.7 kB / 1.502 GB, free: 9.355 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.5877, allocations: 0.911 MB / 1.503 GB, free: 8.441 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5877, allocations: 4 kB / 1.503 GB, free: 8.438 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5877, allocations: 0 / 1.503 GB, free: 8.438 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5877, allocations: 0 / 1.503 GB, free: 8.438 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.001385/0.5891, allocations: 0.8053 MB / 1.503 GB, free: 7.582 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5891, allocations: 15.98 kB / 1.503 GB, free: 7.566 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.98e-05/0.5892, allocations: 70.47 kB / 1.504 GB, free: 7.488 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.5905, allocations: 187.4 kB / 1.504 GB, free: 7.305 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.5912, allocations: 397.7 kB / 1.504 GB, free: 6.875 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.5912, allocations: 20.66 kB / 1.504 GB, free: 6.855 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.5912, allocations: 32 kB / 1.504 GB, free: 6.824 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.5919, allocations: 373.1 kB / 1.504 GB, free: 6.43 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5919, allocations: 0 / 1.504 GB, free: 6.43 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.592, allocations: 15.94 kB / 1.504 GB, free: 6.414 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.592, allocations: 15.94 kB / 1.505 GB, free: 6.398 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.5926, allocations: 258 kB / 1.505 GB, free: 6.148 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.5946, allocations: 1.672 MB / 1.506 GB, free: 4.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.5951, allocations: 194.5 kB / 1.507 GB, free: 4.141 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.5953, allocations: 114 kB / 1.507 GB, free: 4.027 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.5964, allocations: 0.8662 MB / 1.508 GB, free: 2.977 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5965, allocations: 38.42 kB / 1.508 GB, free: 2.93 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.5965, allocations: 0 / 1.508 GB, free: 2.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0009935/0.5975, allocations: 366.9 kB / 1.508 GB, free: 2.566 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.5975, allocations: 51.41 kB / 1.508 GB, free: 2.504 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.598, allocations: 425.9 kB / 1.508 GB, free: 2.082 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.5981, allocations: 29.7 kB / 1.508 GB, free: 2.047 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.5982, allocations: 216.4 kB / 1.509 GB, free: 1.832 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.5983, allocations: 91.22 kB / 1.509 GB, free: 1.742 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.5984, allocations: 49.7 kB / 1.509 GB, free: 1.688 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5986, allocations: 350.7 kB / 1.509 GB, free: 1.336 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.5988, allocations: 87.94 kB / 1.509 GB, free: 1.25 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.5991, allocations: 124.2 kB / 1.509 GB, free: 1.117 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.5995, allocations: 209.3 kB / 1.509 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5995, allocations: 0 / 1.509 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005826/0.6001, allocations: 292.3 kB / 1.51 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.6001, allocations: 8 kB / 1.51 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6001, allocations: 0 / 1.51 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6002, allocations: 4 kB / 1.51 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.6004, allocations: 55.91 kB / 1.51 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6004, allocations: 3.938 kB / 1.51 GB, free: 0.543 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.6006, allocations: 31.81 kB / 1.51 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.6007, allocations: 8 kB / 1.51 GB, free: 0.5039 MB / 1.201 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.0002004/0.6009, allocations: 165.8 kB / 1.51 GB, free: 340 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.601, allocations: 43.72 kB / 1.51 GB, free: 296 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.6016, allocations: 283.2 kB / 1.51 GB, free: 4 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6016, allocations: 0 / 1.51 GB, free: 4 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/0.6016, allocations: 8.141 kB / 1.51 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6016, allocations: 4 kB / 1.51 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.603, allocations: 0.8093 MB / 1.511 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.603, allocations: 4 kB / 1.511 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.6033, allocations: 51.91 kB / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6033, allocations: 0 / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6033, allocations: 12 kB / 1.511 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6033, allocations: 4 kB / 1.511 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6033, allocations: 0 / 1.511 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.6042, allocations: 0.5082 MB / 1.512 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.6043, allocations: 148.8 kB / 1.512 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.6044, allocations: 12 kB / 1.512 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.6047, allocations: 15.98 kB / 1.512 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.6047, allocations: 15.98 kB / 1.512 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.6048, allocations: 11.94 kB / 1.512 GB, free: 14.28 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003506/0.6051, allocations: 299.1 kB / 1.512 GB, free: 13.99 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6051, allocations: 0 / 1.512 GB, free: 13.99 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004729/0.6056, allocations: 119.8 kB / 1.512 GB, free: 13.88 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.001433/0.607, allocations: 1.128 MB / 1.513 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.6075, allocations: 203.8 kB / 1.514 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6076, allocations: 0 / 1.514 GB, free: 12.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.6079, allocations: 103.8 kB / 1.514 GB, free: 12.4 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.609, allocations: 229 kB / 1.514 GB, free: 12.18 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.6144, allocations: 3.691 MB / 1.518 GB, free: 8.352 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.6149, allocations: 0.8233 MB / 1.518 GB, free: 7.5 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000299/0.6152, allocations: 87.34 kB / 1.518 GB, free: 7.414 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.6155, allocations: 139.4 kB / 1.519 GB, free: 7.277 MB / 1.217 GB Notification: Performance of SimCode: time 9.42e-07/0.6155, allocations: 0 / 1.519 GB, free: 7.277 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.6602, allocations: 12.12 MB / 1.53 GB, free: 11.36 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.827/9.488, allocations: 3.875 kB / 1.53 GB, free: 11.36 MB / 1.232 GB " [Timeout remaining time 290] (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: 16.340284817153588]