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.001651/0.001651, 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.002195/0.002195, allocations: 208.3 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.793 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.044/3.044, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.002045/0.002045, allocations: 66.78 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.194/0.5367, allocations: 153.5 MB / 1.475 GB, free: 8.258 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.5409, allocations: 2.179 MB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.5414, allocations: 23.81 kB / 1.477 GB, free: 6.055 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.5422, allocations: 234.3 kB / 1.477 GB, free: 5.824 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.5447, allocations: 0.9295 MB / 1.478 GB, free: 4.891 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.5469, allocations: 0.8481 MB / 1.479 GB, free: 4.043 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.5484, allocations: 0.9624 MB / 1.48 GB, free: 3.078 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005761/0.5489, allocations: 275.3 kB / 1.48 GB, free: 2.805 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.5502, allocations: 0.6228 MB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.5508, allocations: 306.7 kB / 1.481 GB, free: 1.879 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.5509, allocations: 32 kB / 1.481 GB, free: 1.848 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.5526, allocations: 0.8141 MB / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.5528, allocations: 143.5 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.5532, allocations: 207 kB / 1.482 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.5552, allocations: 0.876 MB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5552, allocations: 0 / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5552, allocations: 0 / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.5553, allocations: 0 / 1.483 GB, free: 15.81 MB / 1.186 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.001582/0.5568, allocations: 0.7416 MB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5569, allocations: 8.031 kB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.403e-05/0.557, allocations: 70.53 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5583, allocations: 179.4 kB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.5591, allocations: 339.8 kB / 1.484 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.5591, allocations: 24.66 kB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.5591, allocations: 28 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.5599, allocations: 424.4 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5599, allocations: 0 / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5599, allocations: 19.94 kB / 1.485 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.56, allocations: 11.98 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.5605, allocations: 253.7 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.5625, allocations: 1.316 MB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.5629, allocations: 198.4 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.5631, allocations: 100.8 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.5638, allocations: 139.7 kB / 1.487 GB, free: 11.81 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5638, allocations: 30.56 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.5638, allocations: 0 / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0009591/0.5648, allocations: 368.3 kB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5648, allocations: 55.41 kB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.5653, allocations: 418 kB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.5654, allocations: 29.7 kB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.5656, allocations: 216.4 kB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/0.5657, allocations: 87.22 kB / 1.488 GB, free: 10.58 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.5657, allocations: 53.7 kB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5659, allocations: 354.7 kB / 1.488 GB, free: 10.17 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.5661, allocations: 79.95 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.5664, allocations: 179.7 kB / 1.489 GB, free: 9.891 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.5668, allocations: 209.3 kB / 1.489 GB, free: 9.676 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5668, allocations: 0 / 1.489 GB, free: 9.676 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005759/0.5674, allocations: 281.2 kB / 1.489 GB, free: 9.395 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5674, allocations: 11.98 kB / 1.489 GB, free: 9.383 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5674, allocations: 3.938 kB / 1.489 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5675, allocations: 4 kB / 1.489 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.5677, allocations: 47.92 kB / 1.489 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5677, allocations: 7.938 kB / 1.489 GB, free: 9.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.568, allocations: 31.77 kB / 1.489 GB, free: 9.289 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.568, allocations: 8 kB / 1.489 GB, free: 9.281 MB / 1.186 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.0002018/0.5682, allocations: 173.8 kB / 1.489 GB, free: 9.102 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.5683, allocations: 43.72 kB / 1.489 GB, free: 9.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.5689, allocations: 297.3 kB / 1.49 GB, free: 8.762 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5689, allocations: 7.938 kB / 1.49 GB, free: 8.754 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5689, allocations: 3.938 kB / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5689, allocations: 0 / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5703, allocations: 0.7499 MB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5703, allocations: 0 / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.5705, allocations: 39.98 kB / 1.491 GB, free: 7.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.5705, allocations: 4 kB / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.5705, allocations: 11.98 kB / 1.491 GB, free: 7.879 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.5705, allocations: 3.938 kB / 1.491 GB, free: 7.875 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5705, allocations: 4 kB / 1.491 GB, free: 7.871 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.5714, allocations: 0.5059 MB / 1.491 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.5716, allocations: 71.66 kB / 1.491 GB, free: 7.262 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.5716, allocations: 8 kB / 1.491 GB, free: 7.254 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.5719, allocations: 15.98 kB / 1.491 GB, free: 7.238 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.572, allocations: 19.91 kB / 1.491 GB, free: 7.219 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.572, allocations: 12 kB / 1.491 GB, free: 7.207 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000425/0.5725, allocations: 299.1 kB / 1.491 GB, free: 6.918 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5725, allocations: 4 kB / 1.491 GB, free: 6.914 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005315/0.573, allocations: 119.8 kB / 1.492 GB, free: 6.797 MB / 1.186 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.001496/0.5745, allocations: 1.117 MB / 1.493 GB, free: 5.637 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.575, allocations: 201.2 kB / 1.493 GB, free: 5.441 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.575, allocations: 3.938 kB / 1.493 GB, free: 5.438 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.5752, allocations: 107.8 kB / 1.493 GB, free: 5.332 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5764, allocations: 223.2 kB / 1.493 GB, free: 5.117 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.5816, allocations: 3.707 MB / 1.497 GB, free: 1.273 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.5819, allocations: 216.1 kB / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003169/0.5822, allocations: 87.33 kB / 1.497 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.5824, allocations: 143.3 kB / 1.497 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.5824, allocations: 0 / 1.497 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06101/0.6434, allocations: 13.56 MB / 1.51 GB, free: 3.605 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.18, allocations: 16.05 kB / 1.51 GB, free: 3.59 MB / 1.201 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.77500867517665]