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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 105.3 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 73.28 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3052, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2029/0.5081, allocations: 174.4 MB / 1.474 GB, free: 2.488 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.5124, allocations: 2.314 MB / 1.477 GB, free: 176 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.5129, allocations: 15.88 kB / 1.477 GB, free: 160 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008386/0.5137, allocations: 234.5 kB / 1.477 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.5162, allocations: 0.9684 MB / 1.478 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.5182, allocations: 0.8364 MB / 1.479 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.5194, allocations: 0.9622 MB / 1.479 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.5199, allocations: 287.2 kB / 1.48 GB, free: 12.88 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.5209, allocations: 0.6073 MB / 1.48 GB, free: 12.27 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.5213, allocations: 322.5 kB / 1.481 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.5213, allocations: 36 kB / 1.481 GB, free: 11.91 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.523, allocations: 1.044 MB / 1.482 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.5231, allocations: 151.5 kB / 1.482 GB, free: 10.72 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.5234, allocations: 234.8 kB / 1.482 GB, free: 10.49 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.5247, allocations: 0.9071 MB / 1.483 GB, free: 9.578 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5247, allocations: 0 / 1.483 GB, free: 9.578 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5247, allocations: 0 / 1.483 GB, free: 9.578 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.5247, allocations: 0 / 1.483 GB, free: 9.578 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.00132/0.526, allocations: 0.8247 MB / 1.484 GB, free: 8.703 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5261, allocations: 12.92 kB / 1.484 GB, free: 8.691 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.5262, allocations: 66.53 kB / 1.484 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.5273, allocations: 179.4 kB / 1.484 GB, free: 8.441 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.528, allocations: 397.7 kB / 1.484 GB, free: 8.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.528, allocations: 20.66 kB / 1.484 GB, free: 7.996 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.5281, allocations: 35.95 kB / 1.484 GB, free: 7.961 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.5287, allocations: 373.1 kB / 1.485 GB, free: 7.562 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5287, allocations: 4 kB / 1.485 GB, free: 7.559 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.5288, allocations: 15.94 kB / 1.485 GB, free: 7.543 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.5288, allocations: 11.98 kB / 1.485 GB, free: 7.531 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.5293, allocations: 266 kB / 1.485 GB, free: 7.27 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.5313, allocations: 1.676 MB / 1.487 GB, free: 5.457 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.5317, allocations: 194.5 kB / 1.487 GB, free: 5.258 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.5319, allocations: 104.8 kB / 1.487 GB, free: 5.152 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.533, allocations: 0.8662 MB / 1.488 GB, free: 4.102 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.533, allocations: 42.41 kB / 1.488 GB, free: 4.051 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.533, allocations: 0 / 1.488 GB, free: 4.051 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0008788/0.5339, allocations: 360.1 kB / 1.488 GB, free: 3.695 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.5339, allocations: 59.39 kB / 1.488 GB, free: 3.625 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.5344, allocations: 418 kB / 1.489 GB, free: 3.207 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.5345, allocations: 33.7 kB / 1.489 GB, free: 3.168 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.5346, allocations: 212.4 kB / 1.489 GB, free: 2.957 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.5347, allocations: 87.27 kB / 1.489 GB, free: 2.871 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.5348, allocations: 53.77 kB / 1.489 GB, free: 2.812 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.535, allocations: 362.7 kB / 1.489 GB, free: 2.449 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.5352, allocations: 79.95 kB / 1.489 GB, free: 2.371 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.5354, allocations: 120.5 kB / 1.49 GB, free: 2.242 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.5358, allocations: 209 kB / 1.49 GB, free: 2.027 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5358, allocations: 0 / 1.49 GB, free: 2.027 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005161/0.5363, allocations: 283 kB / 1.49 GB, free: 1.746 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5363, allocations: 8 kB / 1.49 GB, free: 1.738 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5363, allocations: 3.984 kB / 1.49 GB, free: 1.734 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5364, allocations: 3.938 kB / 1.49 GB, free: 1.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.5366, allocations: 51.97 kB / 1.49 GB, free: 1.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.5366, allocations: 15.91 kB / 1.49 GB, free: 1.664 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.5368, allocations: 35.72 kB / 1.49 GB, free: 1.629 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.5368, allocations: 8 kB / 1.49 GB, free: 1.621 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.0001757/0.537, allocations: 157.8 kB / 1.49 GB, free: 1.457 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.5371, allocations: 43.72 kB / 1.49 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.5377, allocations: 289.1 kB / 1.491 GB, free: 1.125 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5377, allocations: 4.094 kB / 1.491 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.5377, allocations: 7.922 kB / 1.491 GB, free: 1.113 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5377, allocations: 3.984 kB / 1.491 GB, free: 1.109 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.5389, allocations: 0.8113 MB / 1.491 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.5389, allocations: 4 kB / 1.491 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.5392, allocations: 43.92 kB / 1.491 GB, free: 180 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5392, allocations: 4 kB / 1.491 GB, free: 176 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5392, allocations: 7.984 kB / 1.492 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5392, allocations: 4 kB / 1.492 GB, free: 164 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5392, allocations: 0 / 1.492 GB, free: 164 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.54, allocations: 0.5127 MB / 1.492 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.5402, allocations: 148.8 kB / 1.492 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.5403, allocations: 8 kB / 1.492 GB, free: 15.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.5405, allocations: 11.98 kB / 1.492 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.5406, allocations: 27.91 kB / 1.492 GB, free: 15.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.5406, allocations: 8 kB / 1.492 GB, free: 15.39 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003301/0.5409, allocations: 299.1 kB / 1.492 GB, free: 15.1 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5409, allocations: 0 / 1.492 GB, free: 15.1 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004334/0.5414, allocations: 115.8 kB / 1.493 GB, free: 14.99 MB / 1.201 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.001424/0.5428, allocations: 1.142 MB / 1.494 GB, free: 13.81 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.5433, allocations: 203.7 kB / 1.494 GB, free: 13.61 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5433, allocations: 0 / 1.494 GB, free: 13.61 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.5435, allocations: 104.3 kB / 1.494 GB, free: 13.51 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5445, allocations: 230.9 kB / 1.494 GB, free: 13.29 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.5497, allocations: 3.696 MB / 1.498 GB, free: 9.465 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.5501, allocations: 0.8233 MB / 1.499 GB, free: 8.613 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002845/0.5504, allocations: 83.34 kB / 1.499 GB, free: 8.531 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.5506, allocations: 139.4 kB / 1.499 GB, free: 8.395 MB / 1.201 GB Notification: Performance of SimCode: time 6.21e-07/0.5506, allocations: 0 / 1.499 GB, free: 8.395 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.5908, allocations: 12.17 MB / 1.511 GB, free: 12.46 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.945, allocations: 8.594 kB / 1.511 GB, free: 12.45 MB / 1.217 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.193461556918919]