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.001832/0.001832, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002483/0.002483, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.709/2.709, allocations: 476.7 MB / 0.7672 GB, free: 5.219 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.002043/0.002043, allocations: 63.89 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8022, allocations: 169.9 MB / 1.278 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2143/1.016, allocations: 177.3 MB / 1.451 GB, free: 11.57 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004957/1.021, allocations: 2.303 MB / 1.454 GB, free: 9.266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/1.022, allocations: 23.81 kB / 1.454 GB, free: 9.242 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009766/1.023, allocations: 242.3 kB / 1.454 GB, free: 9.004 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/1.026, allocations: 0.9762 MB / 1.455 GB, free: 8.023 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/1.029, allocations: 0.8361 MB / 1.456 GB, free: 7.191 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001974/1.031, allocations: 0.9662 MB / 1.457 GB, free: 6.219 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/1.032, allocations: 277.8 kB / 1.457 GB, free: 5.949 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/1.033, allocations: 478.3 kB / 1.457 GB, free: 5.48 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/1.033, allocations: 330.6 kB / 1.458 GB, free: 5.156 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/1.034, allocations: 32 kB / 1.458 GB, free: 5.125 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/1.036, allocations: 1.052 MB / 1.459 GB, free: 4.07 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/1.036, allocations: 151.5 kB / 1.459 GB, free: 3.922 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004395/1.037, allocations: 238.8 kB / 1.459 GB, free: 3.688 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/1.04, allocations: 0.9032 MB / 1.46 GB, free: 2.781 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.04, allocations: 0 / 1.46 GB, free: 2.781 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.954e-06/1.04, allocations: 4 kB / 1.46 GB, free: 2.777 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.062e-05/1.04, allocations: 0 / 1.46 GB, free: 2.777 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.002093/1.042, allocations: 0.8246 MB / 1.461 GB, free: 1.902 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.042, allocations: 8.031 kB / 1.461 GB, free: 1.895 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/1.042, allocations: 66.53 kB / 1.461 GB, free: 1.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.044, allocations: 187.4 kB / 1.461 GB, free: 1.637 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008819/1.044, allocations: 397.7 kB / 1.461 GB, free: 1.207 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/1.044, allocations: 24.66 kB / 1.461 GB, free: 1.184 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/1.045, allocations: 31.95 kB / 1.461 GB, free: 1.152 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/1.045, allocations: 369.1 kB / 1.462 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.045, allocations: 8 kB / 1.462 GB, free: 0.75 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.045, allocations: 11.94 kB / 1.462 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/1.045, allocations: 15.94 kB / 1.462 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/1.046, allocations: 258 kB / 1.462 GB, free: 484 kB / 1.154 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.002328/1.048, allocations: 1.676 MB / 1.464 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/1.049, allocations: 194.4 kB / 1.464 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/1.049, allocations: 112.6 kB / 1.464 GB, free: 14.35 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/1.05, allocations: 0.8662 MB / 1.465 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/1.05, allocations: 42.56 kB / 1.465 GB, free: 13.25 MB / 1.17 GB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/1.05, allocations: 0 / 1.465 GB, free: 13.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=23): time 0.0009922/1.051, allocations: 351.8 kB / 1.465 GB, free: 12.9 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.051, allocations: 59.41 kB / 1.465 GB, free: 12.83 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/1.052, allocations: 417.9 kB / 1.466 GB, free: 12.41 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/1.052, allocations: 33.7 kB / 1.466 GB, free: 12.37 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/1.052, allocations: 220.4 kB / 1.466 GB, free: 12.15 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.455e-05/1.052, allocations: 91.25 kB / 1.466 GB, free: 12.06 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/1.052, allocations: 49.66 kB / 1.466 GB, free: 12.01 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.052, allocations: 354.7 kB / 1.466 GB, free: 11.65 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/1.052, allocations: 79.94 kB / 1.466 GB, free: 11.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/1.053, allocations: 124.1 kB / 1.467 GB, free: 11.44 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/1.053, allocations: 221.8 kB / 1.467 GB, free: 11.21 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.053, allocations: 0 / 1.467 GB, free: 11.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006024/1.054, allocations: 281.2 kB / 1.467 GB, free: 10.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.054, allocations: 8.062 kB / 1.467 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/1.054, allocations: 4 kB / 1.467 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.054, allocations: 0 / 1.467 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/1.054, allocations: 55.91 kB / 1.467 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.054, allocations: 7.938 kB / 1.467 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/1.054, allocations: 31.77 kB / 1.467 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.054, allocations: 12.11 kB / 1.467 GB, free: 10.82 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.0001991/1.055, allocations: 165.7 kB / 1.467 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/1.055, allocations: 47.72 kB / 1.467 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/1.055, allocations: 279.8 kB / 1.468 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.055, allocations: 4 kB / 1.468 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.055, allocations: 3.938 kB / 1.468 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.055, allocations: 0 / 1.468 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/1.057, allocations: 0.8125 MB / 1.468 GB, free: 9.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.057, allocations: 3.984 kB / 1.468 GB, free: 9.422 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/1.057, allocations: 43.92 kB / 1.469 GB, free: 9.379 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.057, allocations: 4 kB / 1.469 GB, free: 9.375 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.057, allocations: 12.19 kB / 1.469 GB, free: 9.363 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/1.057, allocations: 7.984 kB / 1.469 GB, free: 9.355 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.057, allocations: 3.938 kB / 1.469 GB, free: 9.352 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/1.058, allocations: 0.5079 MB / 1.469 GB, free: 8.809 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/1.058, allocations: 148.8 kB / 1.469 GB, free: 8.645 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/1.058, allocations: 4 kB / 1.469 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/1.058, allocations: 15.98 kB / 1.469 GB, free: 8.625 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/1.059, allocations: 31.84 kB / 1.469 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.059, allocations: 8 kB / 1.469 GB, free: 8.586 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003649/1.059, allocations: 303.1 kB / 1.47 GB, free: 8.293 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.059, allocations: 0 / 1.47 GB, free: 8.293 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000496/1.059, allocations: 111.8 kB / 1.47 GB, free: 8.184 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.001447/1.061, allocations: 1.124 MB / 1.471 GB, free: 7.016 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00052/1.061, allocations: 198.5 kB / 1.471 GB, free: 6.824 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.061, allocations: 4 kB / 1.471 GB, free: 6.82 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/1.062, allocations: 114 kB / 1.471 GB, free: 6.711 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.063, allocations: 220 kB / 1.471 GB, free: 6.5 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/1.068, allocations: 3.705 MB / 1.475 GB, free: 2.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/1.069, allocations: 0.8272 MB / 1.476 GB, free: 1.809 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002954/1.069, allocations: 75.36 kB / 1.476 GB, free: 1.734 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.069, allocations: 143.4 kB / 1.476 GB, free: 1.594 MB / 1.17 GB Notification: Performance of SimCode: time 8.52e-07/1.069, allocations: 0 / 1.476 GB, free: 1.594 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/1.114, allocations: 12.13 MB / 1.488 GB, free: 5.684 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.933, allocations: 13.92 kB / 1.488 GB, free: 5.672 MB / 1.186 GB " [Timeout remaining time 290] (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: 15.88595766806975]