Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001624/0.001624, allocations: 104 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.00204/0.00204, 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.687/3.687, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.002428/0.002428, allocations: 68.95 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4578, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2456/0.7033, allocations: 177.4 MB / 1.521 GB, free: 7.992 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.005815/0.7091, allocations: 2.438 MB / 1.523 GB, free: 5.547 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.7101, allocations: 23.81 kB / 1.523 GB, free: 5.523 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.7113, allocations: 242.4 kB / 1.524 GB, free: 5.285 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.7148, allocations: 1.007 MB / 1.525 GB, free: 4.273 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.7177, allocations: 0.8398 MB / 1.525 GB, free: 3.438 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.7197, allocations: 0.9699 MB / 1.526 GB, free: 2.465 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007786/0.7205, allocations: 286.9 kB / 1.527 GB, free: 2.18 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.7222, allocations: 0.6073 MB / 1.527 GB, free: 1.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.723, allocations: 334.6 kB / 1.528 GB, free: 1.242 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.7231, allocations: 36 kB / 1.528 GB, free: 1.207 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.7257, allocations: 1.087 MB / 1.529 GB, free: 120 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.726, allocations: 155.5 kB / 1.529 GB, free: 15.96 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.7265, allocations: 242.7 kB / 1.529 GB, free: 15.73 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.7292, allocations: 0.9499 MB / 1.53 GB, free: 14.77 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7292, allocations: 0 / 1.53 GB, free: 14.77 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7292, allocations: 3.938 kB / 1.53 GB, free: 14.77 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.622e-05/0.7292, allocations: 4 kB / 1.53 GB, free: 14.77 MB / 1.232 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.002013/0.7312, allocations: 0.8246 MB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.7313, allocations: 15.92 kB / 1.531 GB, free: 13.87 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.7314, allocations: 70.53 kB / 1.531 GB, free: 13.79 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.7333, allocations: 227.3 kB / 1.531 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.7343, allocations: 405.7 kB / 1.531 GB, free: 13.14 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.7343, allocations: 20.66 kB / 1.531 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.7344, allocations: 32 kB / 1.531 GB, free: 13.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/0.7353, allocations: 405 kB / 1.532 GB, free: 12.66 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.7354, allocations: 0 / 1.532 GB, free: 12.66 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.7354, allocations: 15.94 kB / 1.532 GB, free: 12.65 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.7354, allocations: 8 kB / 1.532 GB, free: 12.64 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008872/0.7363, allocations: 317.9 kB / 1.532 GB, free: 12.33 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.7388, allocations: 1.735 MB / 1.534 GB, free: 10.46 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.7396, allocations: 270.4 kB / 1.534 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.7399, allocations: 133.9 kB / 1.534 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006622/0.7406, allocations: 303.2 kB / 1.535 GB, free: 9.703 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.7406, allocations: 34.56 kB / 1.535 GB, free: 9.66 MB / 1.232 GB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/0.7406, allocations: 0 / 1.535 GB, free: 9.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=23): time 0.001416/0.742, allocations: 438.2 kB / 1.535 GB, free: 9.227 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.7421, allocations: 59.34 kB / 1.535 GB, free: 9.156 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.7427, allocations: 425.9 kB / 1.535 GB, free: 8.73 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.7427, allocations: 33.7 kB / 1.535 GB, free: 8.691 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.7429, allocations: 212.4 kB / 1.536 GB, free: 8.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.743, allocations: 83.28 kB / 1.536 GB, free: 8.398 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.7432, allocations: 57.75 kB / 1.536 GB, free: 8.336 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.7434, allocations: 354.7 kB / 1.536 GB, free: 7.98 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.7437, allocations: 103.9 kB / 1.536 GB, free: 7.879 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.7441, allocations: 151.3 kB / 1.536 GB, free: 7.719 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.7447, allocations: 254.1 kB / 1.537 GB, free: 7.461 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7447, allocations: 4.031 kB / 1.537 GB, free: 7.457 MB / 1.232 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008436/0.7455, allocations: 325.2 kB / 1.537 GB, free: 7.133 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.7456, allocations: 8 kB / 1.537 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7456, allocations: 0 / 1.537 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7456, allocations: 0 / 1.537 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.7459, allocations: 67.92 kB / 1.537 GB, free: 7.059 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.7459, allocations: 7.938 kB / 1.537 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.7463, allocations: 39.72 kB / 1.537 GB, free: 7.012 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.7463, allocations: 8 kB / 1.537 GB, free: 7.004 MB / 1.232 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.0002156/0.7465, allocations: 165.8 kB / 1.537 GB, free: 6.832 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7466, allocations: 43.72 kB / 1.537 GB, free: 6.789 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008531/0.7475, allocations: 347.2 kB / 1.538 GB, free: 6.445 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.7475, allocations: 4 kB / 1.538 GB, free: 6.441 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7475, allocations: 3.938 kB / 1.538 GB, free: 6.438 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7475, allocations: 0 / 1.538 GB, free: 6.438 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.7493, allocations: 0.9 MB / 1.539 GB, free: 5.465 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.7493, allocations: 4 kB / 1.539 GB, free: 5.461 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.7496, allocations: 52.08 kB / 1.539 GB, free: 5.41 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.7496, allocations: 8 kB / 1.539 GB, free: 5.402 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.7496, allocations: 8 kB / 1.539 GB, free: 5.395 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.7496, allocations: 7.984 kB / 1.539 GB, free: 5.387 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.7496, allocations: 3.938 kB / 1.539 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.7509, allocations: 0.582 MB / 1.539 GB, free: 4.766 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.7511, allocations: 152.8 kB / 1.539 GB, free: 4.598 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.7511, allocations: 12 kB / 1.539 GB, free: 4.586 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.7515, allocations: 19.97 kB / 1.539 GB, free: 4.566 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.7516, allocations: 24.05 kB / 1.539 GB, free: 4.543 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.7516, allocations: 15.98 kB / 1.539 GB, free: 4.527 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003668/0.752, allocations: 299.1 kB / 1.54 GB, free: 4.234 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.752, allocations: 0 / 1.54 GB, free: 4.234 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005051/0.7525, allocations: 107.9 kB / 1.54 GB, free: 4.129 MB / 1.232 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.001786/0.7543, allocations: 1.192 MB / 1.541 GB, free: 2.895 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.755, allocations: 251.7 kB / 1.541 GB, free: 2.648 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.755, allocations: 0 / 1.541 GB, free: 2.648 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.7554, allocations: 140.2 kB / 1.541 GB, free: 2.512 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7566, allocations: 225.4 kB / 1.542 GB, free: 2.297 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/0.7634, allocations: 3.881 MB / 1.545 GB, free: 14.28 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.7639, allocations: 0.8233 MB / 1.546 GB, free: 13.42 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.7643, allocations: 91.34 kB / 1.546 GB, free: 13.33 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.7646, allocations: 135.4 kB / 1.546 GB, free: 13.2 MB / 1.248 GB Notification: Performance of SimCode: time 1.453e-06/0.7646, allocations: 0 / 1.546 GB, free: 13.2 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05129/0.8159, allocations: 12.49 MB / 1.559 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/10.27, allocations: 9.656 kB / 1.559 GB, free: 0.9258 MB / 1.248 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.dp in file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.dp from file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.v in file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.v from file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.27328289905563]