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.001349/0.001349, allocations: 116.8 kB / 17.17 MB, free: 6 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.00143/0.00143, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8/2.8, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 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.002007/0.002007, allocations: 70.25 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27/1.272, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2649/1.537, allocations: 177.3 MB / 1.452 GB, free: 10.55 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005357/1.543, allocations: 2.298 MB / 1.454 GB, free: 8.246 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/1.543, allocations: 23.81 kB / 1.454 GB, free: 8.223 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/1.544, allocations: 246.3 kB / 1.455 GB, free: 7.98 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/1.547, allocations: 0.9762 MB / 1.456 GB, free: 7 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/1.55, allocations: 0.8337 MB / 1.456 GB, free: 6.168 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001848/1.552, allocations: 0.9624 MB / 1.457 GB, free: 5.203 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/1.553, allocations: 289.6 kB / 1.458 GB, free: 4.922 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/1.554, allocations: 470.3 kB / 1.458 GB, free: 4.461 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000758/1.555, allocations: 330.6 kB / 1.458 GB, free: 4.137 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/1.555, allocations: 36 kB / 1.458 GB, free: 4.102 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/1.557, allocations: 1.052 MB / 1.459 GB, free: 3.047 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/1.558, allocations: 155.5 kB / 1.46 GB, free: 2.895 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005398/1.558, allocations: 234.8 kB / 1.46 GB, free: 2.664 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/1.561, allocations: 0.9071 MB / 1.461 GB, free: 1.754 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.561, allocations: 0 / 1.461 GB, free: 1.754 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.974e-06/1.561, allocations: 0 / 1.461 GB, free: 1.754 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.561, allocations: 4 kB / 1.461 GB, free: 1.75 MB / 1.139 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.002104/1.563, allocations: 0.8246 MB / 1.461 GB, free: 0.875 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/1.563, allocations: 12.03 kB / 1.461 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.578e-05/1.563, allocations: 4.656 kB / 1.461 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/1.563, allocations: 74.48 kB / 1.462 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.565, allocations: 183.5 kB / 1.462 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/1.566, allocations: 397.7 kB / 1.462 GB, free: 176 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/1.566, allocations: 20.66 kB / 1.462 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/1.566, allocations: 35.95 kB / 1.462 GB, free: 116 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008432/1.567, allocations: 373.2 kB / 1.463 GB, free: 15.71 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/1.567, allocations: 0 / 1.463 GB, free: 15.71 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/1.567, allocations: 19.88 kB / 1.463 GB, free: 15.7 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/1.567, allocations: 8 kB / 1.463 GB, free: 15.69 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/1.567, allocations: 258 kB / 1.463 GB, free: 15.44 MB / 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.002669/1.57, allocations: 1.676 MB / 1.464 GB, free: 13.63 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/1.571, allocations: 194.5 kB / 1.465 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/1.571, allocations: 108.7 kB / 1.465 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.572, allocations: 0.8662 MB / 1.466 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/1.572, allocations: 42.55 kB / 1.466 GB, free: 12.22 MB / 1.154 GB Notification: Performance of pre-optimization done (n=23): time 1.874e-06/1.572, allocations: 0 / 1.466 GB, free: 12.22 MB / 1.154 GB Notification: Performance of matching and sorting (n=23): time 0.001134/1.573, allocations: 350.5 kB / 1.466 GB, free: 11.87 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.573, allocations: 59.39 kB / 1.466 GB, free: 11.8 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/1.574, allocations: 418 kB / 1.466 GB, free: 11.38 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/1.574, allocations: 41.64 kB / 1.466 GB, free: 11.34 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.574, allocations: 212.4 kB / 1.467 GB, free: 11.12 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/1.574, allocations: 91.2 kB / 1.467 GB, free: 11.04 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.574, allocations: 53.66 kB / 1.467 GB, free: 10.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002116/1.575, allocations: 354.7 kB / 1.467 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/1.575, allocations: 79.95 kB / 1.467 GB, free: 10.54 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/1.575, allocations: 132.3 kB / 1.467 GB, free: 10.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/1.576, allocations: 208.3 kB / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.576, allocations: 0 / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006278/1.576, allocations: 287.5 kB / 1.468 GB, free: 9.902 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/1.576, allocations: 10.03 kB / 1.468 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.576, allocations: 0 / 1.468 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.576, allocations: 0 / 1.468 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/1.577, allocations: 59.84 kB / 1.468 GB, free: 9.836 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.577, allocations: 4 kB / 1.468 GB, free: 9.832 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/1.577, allocations: 31.88 kB / 1.468 GB, free: 9.801 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.577, allocations: 11.94 kB / 1.468 GB, free: 9.789 MB / 1.154 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.0002456/1.577, allocations: 165.8 kB / 1.468 GB, free: 9.617 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.577, allocations: 43.72 kB / 1.468 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/1.578, allocations: 291.4 kB / 1.468 GB, free: 9.285 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.578, allocations: 3.938 kB / 1.468 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.578, allocations: 0 / 1.468 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.578, allocations: 7.922 kB / 1.468 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/1.58, allocations: 0.7998 MB / 1.469 GB, free: 8.398 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.58, allocations: 4 kB / 1.469 GB, free: 8.395 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/1.58, allocations: 43.92 kB / 1.469 GB, free: 8.352 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.58, allocations: 4.188 kB / 1.469 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.58, allocations: 11.98 kB / 1.469 GB, free: 8.336 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.58, allocations: 7.984 kB / 1.469 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.58, allocations: 3.938 kB / 1.469 GB, free: 8.324 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/1.581, allocations: 0.506 MB / 1.47 GB, free: 7.785 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/1.581, allocations: 148.8 kB / 1.47 GB, free: 7.621 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/1.581, allocations: 8 kB / 1.47 GB, free: 7.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/1.581, allocations: 11.98 kB / 1.47 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/1.582, allocations: 35.84 kB / 1.47 GB, free: 7.566 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/1.582, allocations: 8 kB / 1.47 GB, free: 7.559 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003876/1.582, allocations: 299.1 kB / 1.47 GB, free: 7.266 MB / 1.154 GB Notification: Performance of sort global known variables: time 6.1e-08/1.582, allocations: 0 / 1.47 GB, free: 7.266 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005559/1.583, allocations: 119.8 kB / 1.47 GB, free: 7.148 MB / 1.154 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.001608/1.584, allocations: 1.127 MB / 1.471 GB, free: 5.98 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005757/1.585, allocations: 207.7 kB / 1.472 GB, free: 5.777 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.585, allocations: 0 / 1.472 GB, free: 5.777 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/1.585, allocations: 106.1 kB / 1.472 GB, free: 5.676 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.586, allocations: 217.5 kB / 1.472 GB, free: 5.465 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/1.592, allocations: 3.705 MB / 1.476 GB, free: 1.621 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/1.593, allocations: 0.8233 MB / 1.476 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003969/1.593, allocations: 87.33 kB / 1.476 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/1.594, allocations: 139.4 kB / 1.477 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of SimCode: time 1.202e-06/1.594, allocations: 0 / 1.477 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/1.63, allocations: 12.16 MB / 1.488 GB, free: 4.621 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/10.97, allocations: 10.23 kB / 1.488 GB, free: 4.613 MB / 1.17 GB " [Timeout remaining time 289] (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: 17.342488969967235]