Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001708/0.001708, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002074/0.002074, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.131/3.131, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",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.002563/0.002563, allocations: 69.27 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4125, allocations: 179 MB / 1.345 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2/0.6125, allocations: 157.9 MB / 1.5 GB, free: 1.371 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01876/0.6312, allocations: 10.13 MB / 1.509 GB, free: 7.207 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.6348, allocations: 127 kB / 1.51 GB, free: 7.082 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00655/0.6413, allocations: 1.881 MB / 1.511 GB, free: 5.191 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.647, allocations: 1.69 MB / 1.513 GB, free: 3.492 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.6499, allocations: 0.7962 MB / 1.514 GB, free: 2.699 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005686/0.6556, allocations: 3.197 MB / 1.517 GB, free: 15.5 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.6576, allocations: 0.825 MB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.6607, allocations: 1.334 MB / 1.519 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.6641, allocations: 1.145 MB / 1.52 GB, free: 12.15 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006106/0.6647, allocations: 124 kB / 1.52 GB, free: 12.03 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.6673, allocations: 0.7834 MB / 1.521 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.6682, allocations: 489.9 kB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.6701, allocations: 0.8312 MB / 1.522 GB, free: 9.93 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.6759, allocations: 3.486 MB / 1.526 GB, free: 6.43 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6759, allocations: 4 kB / 1.526 GB, free: 6.426 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6759, allocations: 4 kB / 1.526 GB, free: 6.422 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.39e-05/0.676, allocations: 0 / 1.526 GB, free: 6.422 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004336/0.6803, allocations: 2.83 MB / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6804, allocations: 8.031 kB / 1.529 GB, free: 3.539 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.622e-05/0.6804, allocations: 22 kB / 1.529 GB, free: 3.516 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.6806, allocations: 126.7 kB / 1.529 GB, free: 3.383 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.6822, allocations: 390 kB / 1.529 GB, free: 3 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.6858, allocations: 1.943 MB / 1.531 GB, free: 1.004 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.6858, allocations: 58 kB / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.6859, allocations: 72 kB / 1.531 GB, free: 0.875 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.6876, allocations: 1.041 MB / 1.532 GB, free: 15.77 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6876, allocations: 4 kB / 1.532 GB, free: 15.76 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.6877, allocations: 39.88 kB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.6877, allocations: 25 kB / 1.532 GB, free: 15.7 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.6888, allocations: 0.6947 MB / 1.533 GB, free: 15 MB / 1.232 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.006055/0.6949, allocations: 3.657 MB / 1.536 GB, free: 11.25 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.6954, allocations: 301.6 kB / 1.537 GB, free: 10.95 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.6956, allocations: 181.1 kB / 1.537 GB, free: 10.77 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.6958, allocations: 12 kB / 1.537 GB, free: 10.76 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.6958, allocations: 46.55 kB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of pre-optimization done (n=30): time 2.514e-06/0.6958, allocations: 0 / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of matching and sorting (n=32): time 0.003458/0.6993, allocations: 1.584 MB / 1.538 GB, free: 9.078 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.6993, allocations: 59.34 kB / 1.539 GB, free: 9.008 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.7035, allocations: 2.953 MB / 1.541 GB, free: 6.039 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.7035, allocations: 29.7 kB / 1.541 GB, free: 6.004 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.7046, allocations: 1.067 MB / 1.542 GB, free: 4.93 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.7047, allocations: 127 kB / 1.543 GB, free: 4.805 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.7049, allocations: 106.2 kB / 1.543 GB, free: 4.695 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.705, allocations: 333.9 kB / 1.543 GB, free: 4.363 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.7053, allocations: 165.1 kB / 1.543 GB, free: 4.203 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.7058, allocations: 443.5 kB / 1.544 GB, free: 3.66 MB / 1.232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.708, allocations: 1.001 MB / 1.545 GB, free: 2.574 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.708, allocations: 7.938 kB / 1.545 GB, free: 2.566 MB / 1.232 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001438/0.7094, allocations: 0.8061 MB / 1.545 GB, free: 1.75 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.7095, allocations: 8 kB / 1.545 GB, free: 1.742 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7095, allocations: 8.062 kB / 1.545 GB, free: 1.734 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.7097, allocations: 68.7 kB / 1.545 GB, free: 1.664 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.71, allocations: 103.8 kB / 1.546 GB, free: 1.562 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.7118, allocations: 1.742 MB / 1.547 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.7128, allocations: 31.94 kB / 1.547 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.7129, allocations: 28 kB / 1.547 GB, free: 15.65 MB / 1.248 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001257/0.7141, allocations: 0.7908 MB / 1.548 GB, free: 14.85 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.7145, allocations: 250.4 kB / 1.548 GB, free: 14.61 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.7149, allocations: 255.7 kB / 1.549 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7149, allocations: 0 / 1.549 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7149, allocations: 4.125 kB / 1.549 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007578/0.7157, allocations: 0.6016 MB / 1.549 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.7188, allocations: 1.873 MB / 1.551 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.7188, allocations: 4 kB / 1.551 GB, free: 11.7 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.7192, allocations: 64.31 kB / 1.551 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.7193, allocations: 60.83 kB / 1.551 GB, free: 11.58 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.7194, allocations: 8 kB / 1.551 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.7211, allocations: 1.761 MB / 1.553 GB, free: 9.691 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7211, allocations: 7.984 kB / 1.553 GB, free: 9.684 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.7224, allocations: 0.9397 MB / 1.554 GB, free: 8.684 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000866/0.7232, allocations: 347.4 kB / 1.554 GB, free: 8.336 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/0.7237, allocations: 12 kB / 1.554 GB, free: 8.324 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.7244, allocations: 17.48 kB / 1.554 GB, free: 8.309 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.7245, allocations: 35.89 kB / 1.554 GB, free: 8.273 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.7245, allocations: 15.98 kB / 1.554 GB, free: 8.258 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003548/0.7281, allocations: 2.087 MB / 1.556 GB, free: 6.168 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.7281, allocations: 0 / 1.556 GB, free: 6.168 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001289/0.7294, allocations: 300 kB / 1.556 GB, free: 5.875 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001959/0.7313, allocations: 1.547 MB / 1.558 GB, free: 4.258 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.7324, allocations: 0.5121 MB / 1.558 GB, free: 3.734 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7324, allocations: 4 kB / 1.558 GB, free: 3.73 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.7328, allocations: 303.8 kB / 1.559 GB, free: 3.422 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.7369, allocations: 0.9404 MB / 1.56 GB, free: 2.504 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/0.768, allocations: 17.14 MB / 1.576 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.7696, allocations: 1.384 MB / 1.578 GB, free: 15.52 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00124/0.7709, allocations: 342.8 kB / 1.578 GB, free: 15.18 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.7719, allocations: 0.7961 MB / 1.579 GB, free: 14.38 MB / 1.279 GB Notification: Performance of SimCode: time 1.673e-06/0.7719, allocations: 4 kB / 1.579 GB, free: 14.38 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8136/1.586, allocations: 55.13 MB / 1.633 GB, free: 256.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/16.74, allocations: 6.922 kB / 1.633 GB, free: 256.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.888210691977292]