Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_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.007039/0.007039, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001744/0.001743, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 59.91 kB / 1.018 GB, free: 9.789 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7828, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.216/0.9989, allocations: 179.3 MB / 1.341 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01843/1.017, allocations: 10.97 MB / 1.352 GB, free: 4.746 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/1.021, allocations: 83.56 kB / 1.352 GB, free: 4.664 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006164/1.027, allocations: 1.997 MB / 1.354 GB, free: 2.656 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004946/1.032, allocations: 1.62 MB / 1.356 GB, free: 1.027 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/1.034, allocations: 0.796 MB / 1.356 GB, free: 240 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005007/1.039, allocations: 3.141 MB / 1.36 GB, free: 13.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.041, allocations: 1.309 MB / 1.361 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/1.043, allocations: 1.12 MB / 1.362 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/1.046, allocations: 1.106 MB / 1.363 GB, free: 9.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003751/1.046, allocations: 128 kB / 1.363 GB, free: 9.395 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/1.048, allocations: 0.9121 MB / 1.364 GB, free: 8.48 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/1.049, allocations: 478 kB / 1.364 GB, free: 8.012 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/1.05, allocations: 1.095 MB / 1.366 GB, free: 6.91 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/1.055, allocations: 3.467 MB / 1.369 GB, free: 3.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.056, allocations: 4 kB / 1.369 GB, free: 3.426 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.773e-06/1.056, allocations: 0 / 1.369 GB, free: 3.426 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.656e-05/1.056, allocations: 4 kB / 1.369 GB, free: 3.422 MB / 1.092 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.004438/1.06, allocations: 2.886 MB / 1.372 GB, free: 480 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.06, allocations: 16.86 kB / 1.372 GB, free: 464 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/1.06, allocations: 126.7 kB / 1.372 GB, free: 328 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/1.062, allocations: 390 kB / 1.372 GB, free: 15.94 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/1.065, allocations: 2.035 MB / 1.374 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/1.065, allocations: 58 kB / 1.374 GB, free: 13.78 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.065, allocations: 76 kB / 1.374 GB, free: 13.71 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/1.067, allocations: 0.9367 MB / 1.375 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/1.067, allocations: 7.984 kB / 1.375 GB, free: 12.72 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/1.067, allocations: 39.94 kB / 1.375 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/1.067, allocations: 29 kB / 1.375 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/1.068, allocations: 0.7063 MB / 1.376 GB, free: 11.95 MB / 1.107 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.006362/1.075, allocations: 4.453 MB / 1.38 GB, free: 7.281 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/1.075, allocations: 318.6 kB / 1.381 GB, free: 6.961 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/1.075, allocations: 180.8 kB / 1.381 GB, free: 6.781 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.076, allocations: 93.11 kB / 1.381 GB, free: 6.672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.076, allocations: 43.05 kB / 1.381 GB, free: 6.621 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/1.076, allocations: 0 / 1.381 GB, free: 6.621 MB / 1.107 GB Notification: Performance of matching and sorting (n=32): time 0.003337/1.079, allocations: 1.734 MB / 1.383 GB, free: 4.809 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.079, allocations: 55.41 kB / 1.383 GB, free: 4.742 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/1.083, allocations: 2.953 MB / 1.386 GB, free: 1.773 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/1.083, allocations: 33.7 kB / 1.386 GB, free: 1.734 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.084, allocations: 1.071 MB / 1.387 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.085, allocations: 127 kB / 1.387 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/1.085, allocations: 106.2 kB / 1.387 GB, free: 432 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.085, allocations: 329.9 kB / 1.387 GB, free: 96 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/1.085, allocations: 169.1 kB / 1.387 GB, free: 15.92 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/1.086, allocations: 362.4 kB / 1.388 GB, free: 15.48 MB / 1.123 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.002211/1.088, allocations: 1.085 MB / 1.389 GB, free: 14.3 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.088, allocations: 0 / 1.389 GB, free: 14.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00141/1.089, allocations: 0.8053 MB / 1.39 GB, free: 13.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.089, allocations: 8.844 kB / 1.39 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.089, allocations: 4 kB / 1.39 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/1.09, allocations: 72.75 kB / 1.39 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/1.09, allocations: 99.83 kB / 1.39 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/1.092, allocations: 1.865 MB / 1.392 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/1.093, allocations: 32.44 kB / 1.392 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/1.093, allocations: 24 kB / 1.392 GB, free: 11.24 MB / 1.123 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.001204/1.094, allocations: 0.7941 MB / 1.392 GB, free: 10.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/1.094, allocations: 246.4 kB / 1.393 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/1.095, allocations: 251.7 kB / 1.393 GB, free: 9.945 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.095, allocations: 4 kB / 1.393 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.095, allocations: 0 / 1.393 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000771/1.096, allocations: 0.6055 MB / 1.393 GB, free: 9.266 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/1.099, allocations: 2.044 MB / 1.395 GB, free: 7.117 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.099, allocations: 4 kB / 1.395 GB, free: 7.113 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/1.099, allocations: 71.84 kB / 1.396 GB, free: 7.043 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/1.099, allocations: 52.83 kB / 1.396 GB, free: 6.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/1.099, allocations: 12 kB / 1.396 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.101, allocations: 1.865 MB / 1.397 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.101, allocations: 4.156 kB / 1.397 GB, free: 4.969 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/1.103, allocations: 0.9493 MB / 1.398 GB, free: 3.961 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007569/1.103, allocations: 423.4 kB / 1.399 GB, free: 3.527 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.104, allocations: 15.98 kB / 1.399 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/1.104, allocations: 11.94 kB / 1.399 GB, free: 3.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/1.104, allocations: 31.97 kB / 1.399 GB, free: 3.469 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/1.104, allocations: 11.98 kB / 1.399 GB, free: 3.457 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003208/1.107, allocations: 2.087 MB / 1.401 GB, free: 1.367 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.21e-07/1.107, allocations: 7.938 kB / 1.401 GB, free: 1.359 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001159/1.109, allocations: 299.9 kB / 1.401 GB, free: 1.066 MB / 1.123 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.002013/1.111, allocations: 1.547 MB / 1.403 GB, free: 15.46 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.112, allocations: 0.5263 MB / 1.403 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.112, allocations: 0 / 1.403 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004312/1.112, allocations: 303.7 kB / 1.403 GB, free: 14.61 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.116, allocations: 0.9496 MB / 1.404 GB, free: 13.68 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/1.143, allocations: 17.15 MB / 1.421 GB, free: 12.11 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/1.145, allocations: 1.957 MB / 1.423 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00116/1.146, allocations: 342.9 kB / 1.423 GB, free: 9.773 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.147, allocations: 0.8039 MB / 1.424 GB, free: 8.969 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.147, allocations: 0 / 1.424 GB, free: 8.969 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.252, allocations: 51.22 MB / 1.474 GB, free: 6.379 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.79, allocations: 3.859 kB / 1.474 GB, free: 6.375 MB / 1.201 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches