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.001248/0.001248, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001466/0.001466, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.7 MB / 0.7715 GB, free: 4.285 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="cs",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.002056/0.002056, allocations: 63.53 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 170 MB / 1.284 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2414/0.6498, allocations: 177.5 MB / 1.458 GB, free: 9.348 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004576/0.6543, allocations: 2.314 MB / 1.46 GB, free: 7.027 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.6549, allocations: 23.81 kB / 1.46 GB, free: 7.004 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.6558, allocations: 230.4 kB / 1.46 GB, free: 6.777 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.6584, allocations: 0.984 MB / 1.461 GB, free: 5.789 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.6609, allocations: 0.8678 MB / 1.462 GB, free: 4.926 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.6623, allocations: 0.9779 MB / 1.463 GB, free: 3.941 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.6628, allocations: 279.5 kB / 1.463 GB, free: 3.668 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/0.6636, allocations: 470.3 kB / 1.463 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/0.6641, allocations: 330.6 kB / 1.464 GB, free: 2.883 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.6642, allocations: 36 kB / 1.464 GB, free: 2.848 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.6662, allocations: 1.075 MB / 1.465 GB, free: 1.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.6664, allocations: 147.5 kB / 1.465 GB, free: 1.625 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.6667, allocations: 238.8 kB / 1.465 GB, free: 1.391 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.6682, allocations: 0.9116 MB / 1.466 GB, free: 488 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6682, allocations: 0 / 1.466 GB, free: 488 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6682, allocations: 0 / 1.466 GB, free: 488 kB / 1.154 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6682, allocations: 0 / 1.466 GB, free: 488 kB / 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.001357/0.6696, allocations: 0.7398 MB / 1.467 GB, free: 15.71 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6696, allocations: 12.03 kB / 1.467 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.617e-05/0.6697, allocations: 16.59 kB / 1.467 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.255e-05/0.6697, allocations: 66.48 kB / 1.467 GB, free: 15.6 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.671, allocations: 187.5 kB / 1.467 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.6717, allocations: 327.8 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.6717, allocations: 24.66 kB / 1.467 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.6718, allocations: 32 kB / 1.468 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.6724, allocations: 373 kB / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6725, allocations: 0 / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.6725, allocations: 15.94 kB / 1.468 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.6725, allocations: 16 kB / 1.468 GB, free: 14.59 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.673, allocations: 261.7 kB / 1.468 GB, free: 14.34 MB / 1.17 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.002056/0.6751, allocations: 1.633 MB / 1.47 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.6755, allocations: 194.5 kB / 1.47 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.6757, allocations: 108.7 kB / 1.47 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.6764, allocations: 123.9 kB / 1.47 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6764, allocations: 34.56 kB / 1.47 GB, free: 12.1 MB / 1.17 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.6764, allocations: 0 / 1.47 GB, free: 12.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=23): time 0.0009266/0.6773, allocations: 363.9 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.6774, allocations: 59.34 kB / 1.471 GB, free: 11.67 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.6779, allocations: 421.9 kB / 1.471 GB, free: 11.25 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.6779, allocations: 33.7 kB / 1.471 GB, free: 11.21 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.6781, allocations: 212.4 kB / 1.471 GB, free: 11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.6782, allocations: 87.23 kB / 1.471 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.6783, allocations: 57.64 kB / 1.471 GB, free: 10.85 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.6785, allocations: 354.7 kB / 1.472 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.6787, allocations: 80.06 kB / 1.472 GB, free: 10.42 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.6789, allocations: 131.3 kB / 1.472 GB, free: 10.28 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.6793, allocations: 214.2 kB / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6793, allocations: 0 / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005464/0.6799, allocations: 281.2 kB / 1.472 GB, free: 9.777 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6799, allocations: 6.344 kB / 1.472 GB, free: 9.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6799, allocations: 4 kB / 1.472 GB, free: 9.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.6799, allocations: 4.031 kB / 1.472 GB, free: 9.766 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.6802, allocations: 59.84 kB / 1.472 GB, free: 9.707 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6802, allocations: 4 kB / 1.472 GB, free: 9.703 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.6804, allocations: 31.77 kB / 1.472 GB, free: 9.672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.6804, allocations: 8 kB / 1.472 GB, free: 9.664 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.0001791/0.6806, allocations: 161.8 kB / 1.473 GB, free: 9.496 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.6807, allocations: 43.72 kB / 1.473 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/0.6813, allocations: 289.2 kB / 1.473 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6813, allocations: 7.938 kB / 1.473 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6813, allocations: 0 / 1.473 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6813, allocations: 3.984 kB / 1.473 GB, free: 9.148 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.6826, allocations: 0.7793 MB / 1.474 GB, free: 8.301 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6826, allocations: 4 kB / 1.474 GB, free: 8.297 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.6828, allocations: 43.97 kB / 1.474 GB, free: 8.254 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.6828, allocations: 4 kB / 1.474 GB, free: 8.25 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.6829, allocations: 8 kB / 1.474 GB, free: 8.242 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.6829, allocations: 7.938 kB / 1.474 GB, free: 8.234 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6829, allocations: 192 / 1.474 GB, free: 8.234 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.6837, allocations: 0.5078 MB / 1.474 GB, free: 7.691 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.6839, allocations: 71.66 kB / 1.474 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.6839, allocations: 11.94 kB / 1.474 GB, free: 7.609 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.6842, allocations: 15.98 kB / 1.474 GB, free: 7.594 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.6842, allocations: 23.91 kB / 1.474 GB, free: 7.57 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.6843, allocations: 4 kB / 1.474 GB, free: 7.566 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003449/0.6846, allocations: 311.1 kB / 1.475 GB, free: 7.27 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6846, allocations: 0 / 1.475 GB, free: 7.27 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000483/0.6851, allocations: 111.8 kB / 1.475 GB, free: 7.16 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.001416/0.6865, allocations: 1.119 MB / 1.476 GB, free: 6 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.687, allocations: 211.7 kB / 1.476 GB, free: 5.793 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.687, allocations: 0 / 1.476 GB, free: 5.793 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.6872, allocations: 108.2 kB / 1.476 GB, free: 5.688 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6884, allocations: 224 kB / 1.476 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.6939, allocations: 3.694 MB / 1.48 GB, free: 1.645 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.6944, allocations: 0.8272 MB / 1.481 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.6947, allocations: 91.31 kB / 1.481 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.6949, allocations: 131.4 kB / 1.481 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of SimCode: time 6.82e-07/0.6949, allocations: 0 / 1.481 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.7352, allocations: 12.41 MB / 1.493 GB, free: 4.453 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.05, allocations: 1.25 kB / 1.493 GB, free: 4.453 MB / 1.186 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.286264149006456]