Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.001707/0.001707, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002118/0.002118, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.773 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.236/3.236, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.002098/0.002098, allocations: 67.94 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3713, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2362/0.6075, allocations: 193.5 MB / 1.552 GB, free: 11.85 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03318/0.6407, allocations: 24.49 MB / 1.576 GB, free: 3.277 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.6423, allocations: 39.69 kB / 1.576 GB, free: 3.238 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.6452, allocations: 1.127 MB / 1.577 GB, free: 2.105 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.00828/0.6534, allocations: 3.337 MB / 1.581 GB, free: 14.76 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.6582, allocations: 1.73 MB / 1.582 GB, free: 13.03 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005458/0.6636, allocations: 3.911 MB / 1.586 GB, free: 9.105 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.6659, allocations: 1.148 MB / 1.587 GB, free: 7.926 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00523/0.6711, allocations: 2.421 MB / 1.59 GB, free: 5.496 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.6738, allocations: 1.51 MB / 1.591 GB, free: 3.98 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/0.6742, allocations: 132 kB / 1.591 GB, free: 3.852 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/0.6785, allocations: 1.621 MB / 1.593 GB, free: 2.227 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.6798, allocations: 0.8838 MB / 1.594 GB, free: 1.34 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.6819, allocations: 0.9791 MB / 1.595 GB, free: 364 kB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.6875, allocations: 3.12 MB / 1.598 GB, free: 13.22 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6875, allocations: 0 / 1.598 GB, free: 13.22 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6875, allocations: 0 / 1.598 GB, free: 13.22 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001127/0.6876, allocations: 3.984 kB / 1.598 GB, free: 13.22 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005442/0.6931, allocations: 2.916 MB / 1.601 GB, free: 10.25 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6931, allocations: 8.031 kB / 1.601 GB, free: 10.25 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002725/0.6934, allocations: 198.5 kB / 1.601 GB, free: 10.04 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.6977, allocations: 0.7357 MB / 1.601 GB, free: 9.305 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.7021, allocations: 2.746 MB / 1.604 GB, free: 6.504 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.7022, allocations: 90.53 kB / 1.604 GB, free: 6.414 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.7025, allocations: 128 kB / 1.604 GB, free: 6.289 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.7061, allocations: 1.79 MB / 1.606 GB, free: 4.355 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.7062, allocations: 7.938 kB / 1.606 GB, free: 4.348 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.7063, allocations: 56 kB / 1.606 GB, free: 4.293 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.7064, allocations: 85.97 kB / 1.606 GB, free: 4.207 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.7097, allocations: 1.371 MB / 1.608 GB, free: 2.84 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6811/1.391, allocations: 7.137 MB / 1.615 GB, free: 244 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/1.394, allocations: 1.125 MB / 1.616 GB, free: 243.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.395, allocations: 455.2 kB / 1.616 GB, free: 243.8 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/1.395, allocations: 30.47 kB / 1.616 GB, free: 243.8 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.395, allocations: 44.14 kB / 1.616 GB, free: 243.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 2.996e-06/1.395, allocations: 0 / 1.616 GB, free: 243.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.003935/1.399, allocations: 1.426 MB / 1.618 GB, free: 243.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/1.399, allocations: 162.2 kB / 1.618 GB, free: 243.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006624/1.406, allocations: 4.725 MB / 1.622 GB, free: 242.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.406, allocations: 35.73 kB / 1.622 GB, free: 242 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/1.407, allocations: 1.091 MB / 1.623 GB, free: 241.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.407, allocations: 187.1 kB / 1.624 GB, free: 241.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.407, allocations: 103.4 kB / 1.624 GB, free: 241.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/1.407, allocations: 324.7 kB / 1.624 GB, free: 240.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.408, allocations: 378.1 kB / 1.624 GB, free: 240.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/1.409, allocations: 0.518 MB / 1.625 GB, free: 240.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/1.412, allocations: 0.8193 MB / 1.626 GB, free: 240.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.412, allocations: 1 kB / 1.626 GB, free: 240.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002901/1.415, allocations: 1.115 MB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.415, allocations: 10.84 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.415, allocations: 2.875 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.415, allocations: 5.578 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/1.416, allocations: 154.2 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.416, allocations: 9.984 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.417, allocations: 138 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/1.417, allocations: 25.77 kB / 1.627 GB, free: 239.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0008034/1.418, allocations: 0.5347 MB / 1.628 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/1.418, allocations: 253.4 kB / 1.628 GB, free: 239.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/1.421, allocations: 1.093 MB / 1.629 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.421, allocations: 7.062 kB / 1.629 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.421, allocations: 1.703 kB / 1.629 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.421, allocations: 3.875 kB / 1.629 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/1.424, allocations: 2.072 MB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.424, allocations: 2.188 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/1.425, allocations: 144.4 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/1.425, allocations: 2.906 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/1.425, allocations: 23.97 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.425, allocations: 6.562 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.425, allocations: 7 kB / 1.631 GB, free: 237.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/1.429, allocations: 1.764 MB / 1.633 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.43, allocations: 379.1 kB / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/1.43, allocations: 13.11 kB / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.431, allocations: 60.59 kB / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.432, allocations: 43.47 kB / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/1.432, allocations: 22.53 kB / 1.633 GB, free: 237 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004116/1.436, allocations: 3.532 MB / 1.637 GB, free: 235.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.436, allocations: 0.5469 kB / 1.637 GB, free: 235.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001449/1.437, allocations: 0.4959 MB / 1.637 GB, free: 235.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (50): * Single equations (assignments): 50 * 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.00581/1.443, allocations: 2.74 MB / 1.64 GB, free: 234.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002461/1.445, allocations: 0.8296 MB / 1.641 GB, free: 234.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.445, allocations: 0 / 1.641 GB, free: 234.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.447, allocations: 434.6 kB / 1.641 GB, free: 234.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/1.451, allocations: 0.8913 MB / 1.642 GB, free: 234 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.48, allocations: 20.56 MB / 1.662 GB, free: 222.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/1.481, allocations: 1.065 MB / 1.663 GB, free: 221.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001592/1.482, allocations: 486.6 kB / 1.664 GB, free: 220.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009823/1.483, allocations: 0.9405 MB / 1.665 GB, free: 219.9 MB / 1.295 GB Notification: Performance of SimCode: time 8.51e-07/1.483, allocations: 0 / 1.665 GB, free: 219.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.57, allocations: 54.83 MB / 1.718 GB, free: 166 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.77, allocations: 6.484 kB / 1.718 GB, free: 166 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 23.559034429956228]