Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001818/0.001818, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00237/0.00237, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.987/2.987, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",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.001955/0.001955, allocations: 63.55 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2106/0.5352, allocations: 183 MB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.5537, allocations: 11.08 MB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.5567, allocations: 127 kB / 1.516 GB, free: 14.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00657/0.5633, allocations: 2.044 MB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005381/0.5686, allocations: 1.698 MB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.5714, allocations: 0.8311 MB / 1.52 GB, free: 10.29 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005595/0.577, allocations: 3.186 MB / 1.523 GB, free: 7.098 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.5789, allocations: 0.825 MB / 1.524 GB, free: 6.242 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.5817, allocations: 1.334 MB / 1.525 GB, free: 4.902 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.5845, allocations: 1.158 MB / 1.527 GB, free: 3.746 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005235/0.585, allocations: 127.9 kB / 1.527 GB, free: 3.621 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.5875, allocations: 0.9823 MB / 1.528 GB, free: 2.637 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.5883, allocations: 489.9 kB / 1.528 GB, free: 2.156 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.5903, allocations: 1.095 MB / 1.529 GB, free: 1.055 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005931/0.5962, allocations: 3.51 MB / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.5962, allocations: 0 / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5962, allocations: 0 / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001223/0.5963, allocations: 7.984 kB / 1.533 GB, free: 13.52 MB / 1.232 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.005815/0.6021, allocations: 2.819 MB / 1.535 GB, free: 10.66 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6022, allocations: 12.03 kB / 1.535 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002605/0.6024, allocations: 126.7 kB / 1.535 GB, free: 10.51 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.6042, allocations: 394 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/0.6085, allocations: 1.932 MB / 1.538 GB, free: 8.137 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.6086, allocations: 58 kB / 1.538 GB, free: 8.078 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.6088, allocations: 83.94 kB / 1.538 GB, free: 7.996 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.6105, allocations: 0.9445 MB / 1.539 GB, free: 7.008 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.6106, allocations: 4 kB / 1.539 GB, free: 7.004 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.6107, allocations: 32 kB / 1.539 GB, free: 6.973 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.6107, allocations: 28.94 kB / 1.539 GB, free: 6.945 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.6119, allocations: 0.7025 MB / 1.54 GB, free: 6.242 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.007277/0.6192, allocations: 4.395 MB / 1.544 GB, free: 1.641 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.6198, allocations: 302.6 kB / 1.544 GB, free: 1.336 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.62, allocations: 168.7 kB / 1.544 GB, free: 1.168 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.6202, allocations: 27.98 kB / 1.544 GB, free: 1.141 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6202, allocations: 38.5 kB / 1.544 GB, free: 1.094 MB / 1.232 GB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.6202, allocations: 0 / 1.544 GB, free: 1.094 MB / 1.232 GB Notification: Performance of matching and sorting (n=32): time 0.003566/0.6238, allocations: 1.6 MB / 1.546 GB, free: 15.45 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.6238, allocations: 55.41 kB / 1.546 GB, free: 15.38 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/0.6289, allocations: 2.949 MB / 1.549 GB, free: 12.41 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.6289, allocations: 37.7 kB / 1.549 GB, free: 12.37 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.6301, allocations: 1.071 MB / 1.55 GB, free: 11.29 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.6303, allocations: 115 kB / 1.55 GB, free: 11.18 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.6305, allocations: 110.2 kB / 1.55 GB, free: 11.06 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6306, allocations: 330 kB / 1.55 GB, free: 10.73 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.6309, allocations: 165 kB / 1.551 GB, free: 10.57 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.6313, allocations: 370.4 kB / 1.551 GB, free: 10.13 MB / 1.248 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.002177/0.6335, allocations: 1.007 MB / 1.552 GB, free: 9.039 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.6335, allocations: 4 kB / 1.552 GB, free: 9.035 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001494/0.635, allocations: 0.8022 MB / 1.553 GB, free: 8.223 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.635, allocations: 11.94 kB / 1.553 GB, free: 8.211 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6351, allocations: 8 kB / 1.553 GB, free: 8.203 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.6353, allocations: 64.75 kB / 1.553 GB, free: 8.137 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.6356, allocations: 99.84 kB / 1.553 GB, free: 8.039 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.6374, allocations: 1.758 MB / 1.555 GB, free: 6.172 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009992/0.6384, allocations: 27.95 kB / 1.555 GB, free: 6.145 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.6385, allocations: 31.98 kB / 1.555 GB, free: 6.113 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.00128/0.6397, allocations: 0.7862 MB / 1.555 GB, free: 5.316 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.6402, allocations: 246.4 kB / 1.556 GB, free: 5.074 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.6408, allocations: 251.7 kB / 1.556 GB, free: 4.824 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6408, allocations: 4 kB / 1.556 GB, free: 4.82 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6408, allocations: 0 / 1.556 GB, free: 4.82 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007585/0.6416, allocations: 0.6048 MB / 1.556 GB, free: 4.145 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.6456, allocations: 2.021 MB / 1.558 GB, free: 2.023 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.6456, allocations: 4 kB / 1.558 GB, free: 2.02 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.6459, allocations: 63.91 kB / 1.559 GB, free: 1.957 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.6461, allocations: 61.23 kB / 1.559 GB, free: 1.895 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.6461, allocations: 8 kB / 1.559 GB, free: 1.887 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.6478, allocations: 1.773 MB / 1.56 GB, free: 15.99 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6478, allocations: 4 kB / 1.56 GB, free: 15.99 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6493, allocations: 0.9319 MB / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.6503, allocations: 355.4 kB / 1.562 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/0.6507, allocations: 8 kB / 1.562 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/0.6515, allocations: 23.91 kB / 1.562 GB, free: 14.62 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.6516, allocations: 32.03 kB / 1.562 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.6516, allocations: 15.98 kB / 1.562 GB, free: 14.57 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003713/0.6553, allocations: 2.083 MB / 1.564 GB, free: 12.48 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6553, allocations: 4 kB / 1.564 GB, free: 12.48 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001271/0.6566, allocations: 296 kB / 1.564 GB, free: 12.19 MB / 1.264 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.002044/0.6586, allocations: 1.546 MB / 1.565 GB, free: 10.57 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.6596, allocations: 0.5117 MB / 1.566 GB, free: 10.05 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6597, allocations: 4 kB / 1.566 GB, free: 10.05 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.6601, allocations: 292.3 kB / 1.566 GB, free: 9.75 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/0.6643, allocations: 0.9493 MB / 1.567 GB, free: 8.832 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/0.6937, allocations: 17.16 MB / 1.584 GB, free: 7.25 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.696, allocations: 1.949 MB / 1.586 GB, free: 5.266 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001194/0.6972, allocations: 346.8 kB / 1.586 GB, free: 4.922 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.6983, allocations: 0.8077 MB / 1.587 GB, free: 4.113 MB / 1.279 GB Notification: Performance of SimCode: time 1.843e-06/0.6983, allocations: 3.938 kB / 1.587 GB, free: 4.109 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7313/1.43, allocations: 51.78 MB / 1.638 GB, free: 264.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.49, allocations: 0 / 1.638 GB, free: 264.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.00093698198907]