Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007917/0.007917, allocations: 100.9 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 199.1 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.046/2.046, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.9505 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7138, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2044/0.9182, allocations: 179.3 MB / 1.263 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.9362, allocations: 10.98 MB / 1.273 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.9393, allocations: 99.44 kB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.945, allocations: 2.013 MB / 1.275 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005014/0.9501, allocations: 1.663 MB / 1.277 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.9525, allocations: 0.7908 MB / 1.278 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004585/0.9571, allocations: 3.145 MB / 1.281 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.9591, allocations: 1.312 MB / 1.282 GB, free: 6.336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.961, allocations: 1.159 MB / 1.283 GB, free: 5.172 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.9633, allocations: 1.104 MB / 1.284 GB, free: 4.066 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.9637, allocations: 128 kB / 1.285 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.9657, allocations: 0.9277 MB / 1.285 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006449/0.9664, allocations: 482 kB / 1.286 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.968, allocations: 1.091 MB / 1.287 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.9725, allocations: 3.465 MB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9725, allocations: 3.938 kB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9725, allocations: 4 kB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.618e-05/0.9726, allocations: 0 / 1.29 GB, free: 13.96 MB / 1.029 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.003869/0.9765, allocations: 2.805 MB / 1.293 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9765, allocations: 8.031 kB / 1.293 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.9767, allocations: 126.7 kB / 1.293 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.978, allocations: 372.5 kB / 1.294 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.9808, allocations: 2.013 MB / 1.296 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.9808, allocations: 58 kB / 1.296 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.981, allocations: 72 kB / 1.296 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.9823, allocations: 0.9446 MB / 1.297 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.9823, allocations: 7.922 kB / 1.297 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.9824, allocations: 36 kB / 1.297 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.9824, allocations: 28.94 kB / 1.297 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.9834, allocations: 0.6947 MB / 1.297 GB, free: 6.613 MB / 1.029 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.005163/0.9886, allocations: 4.448 MB / 1.302 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.9891, allocations: 309.5 kB / 1.302 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.9893, allocations: 184.6 kB / 1.302 GB, free: 1.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.9895, allocations: 101.1 kB / 1.302 GB, free: 1.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.9896, allocations: 38.56 kB / 1.302 GB, free: 1.301 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.9896, allocations: 0 / 1.302 GB, free: 1.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.002899/0.9925, allocations: 1.711 MB / 1.304 GB, free: 15.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.9925, allocations: 55.41 kB / 1.304 GB, free: 15.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/0.9962, allocations: 2.949 MB / 1.307 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.9962, allocations: 29.7 kB / 1.307 GB, free: 12.44 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009823/0.9972, allocations: 1.066 MB / 1.308 GB, free: 11.37 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.9973, allocations: 114.4 kB / 1.308 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.9975, allocations: 110.1 kB / 1.308 GB, free: 11.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9977, allocations: 330 kB / 1.308 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.9979, allocations: 161 kB / 1.309 GB, free: 10.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.9984, allocations: 366.3 kB / 1.309 GB, free: 10.21 MB / 1.045 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.0021/1, allocations: 1.088 MB / 1.31 GB, free: 9.016 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.001, allocations: 4 kB / 1.31 GB, free: 9.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001135/1.002, allocations: 0.7923 MB / 1.311 GB, free: 8.207 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.002, allocations: 8 kB / 1.311 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.002, allocations: 12.09 kB / 1.311 GB, free: 8.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/1.002, allocations: 56.81 kB / 1.311 GB, free: 8.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/1.002, allocations: 107.8 kB / 1.311 GB, free: 8.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/1.004, allocations: 1.861 MB / 1.313 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/1.005, allocations: 23.94 kB / 1.313 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/1.005, allocations: 31.92 kB / 1.313 GB, free: 5.969 MB / 1.045 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.0009789/1.006, allocations: 0.7952 MB / 1.314 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/1.006, allocations: 233 kB / 1.314 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/1.006, allocations: 255.7 kB / 1.314 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.006, allocations: 4 kB / 1.314 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.006, allocations: 0 / 1.314 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006616/1.007, allocations: 0.6008 MB / 1.315 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/1.01, allocations: 2.047 MB / 1.317 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.01, allocations: 4 kB / 1.317 GB, free: 1.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/1.01, allocations: 59.91 kB / 1.317 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/1.01, allocations: 64.94 kB / 1.317 GB, free: 1.719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.01, allocations: 8.406 kB / 1.317 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/1.012, allocations: 1.861 MB / 1.319 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.012, allocations: 7.938 kB / 1.319 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.013, allocations: 0.9196 MB / 1.32 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/1.013, allocations: 406.1 kB / 1.32 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.013, allocations: 12 kB / 1.32 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/1.014, allocations: 15.98 kB / 1.32 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/1.014, allocations: 31.84 kB / 1.32 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/1.014, allocations: 12 kB / 1.32 GB, free: 14.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002626/1.017, allocations: 2.091 MB / 1.322 GB, free: 12.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.017, allocations: 0 / 1.322 GB, free: 12.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009503/1.018, allocations: 300 kB / 1.322 GB, free: 11.85 MB / 1.061 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.001654/1.019, allocations: 1.536 MB / 1.324 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008645/1.02, allocations: 0.538 MB / 1.324 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.02, allocations: 0 / 1.324 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/1.021, allocations: 292.4 kB / 1.325 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.024, allocations: 0.9688 MB / 1.326 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.047, allocations: 17.08 MB / 1.342 GB, free: 6.957 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.049, allocations: 1.949 MB / 1.344 GB, free: 4.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001166/1.05, allocations: 346.8 kB / 1.344 GB, free: 4.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009569/1.051, allocations: 0.8039 MB / 1.345 GB, free: 3.824 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/1.051, allocations: 0 / 1.345 GB, free: 3.824 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/1.14, allocations: 51.2 MB / 1.395 GB, free: 1.336 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.21, allocations: 3.859 kB / 1.395 GB, free: 1.332 MB / 1.123 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches