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.005637/0.005637, allocations: 101.8 kB / 15.73 MB, free: 6 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.001268/0.001268, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.269/1.269, 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 9.1.3-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 0.9505 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7589, allocations: 140.4 MB / 1.088 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2087/0.9677, allocations: 179.3 MB / 1.263 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.987, allocations: 10.98 MB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.9909, allocations: 95.5 kB / 1.273 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006264/0.9972, allocations: 2.013 MB / 1.275 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005557/1.003, allocations: 1.608 MB / 1.277 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/1.006, allocations: 0.7927 MB / 1.278 GB, free: 10.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005302/1.011, allocations: 3.145 MB / 1.281 GB, free: 7.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/1.013, allocations: 1.305 MB / 1.282 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/1.016, allocations: 1.155 MB / 1.283 GB, free: 5.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/1.018, allocations: 1.101 MB / 1.284 GB, free: 4.172 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005497/1.019, allocations: 127.9 kB / 1.284 GB, free: 4.047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/1.021, allocations: 0.9239 MB / 1.285 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007762/1.022, allocations: 482 kB / 1.286 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/1.024, allocations: 1.092 MB / 1.287 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00539/1.029, allocations: 3.457 MB / 1.29 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.029, allocations: 0 / 1.29 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.268e-06/1.029, allocations: 3.984 kB / 1.29 GB, free: 14.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001241/1.03, allocations: 0 / 1.29 GB, free: 14.08 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.00581/1.035, allocations: 2.809 MB / 1.293 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.035, allocations: 8.031 kB / 1.293 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002544/1.036, allocations: 130.7 kB / 1.293 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/1.038, allocations: 376.5 kB / 1.293 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/1.042, allocations: 2.013 MB / 1.295 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/1.042, allocations: 58 kB / 1.295 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.042, allocations: 76 kB / 1.296 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.044, allocations: 0.9329 MB / 1.296 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.044, allocations: 3.938 kB / 1.296 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/1.044, allocations: 32 kB / 1.297 GB, free: 7.465 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/1.044, allocations: 32.94 kB / 1.297 GB, free: 7.434 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.045, allocations: 0.6986 MB / 1.297 GB, free: 6.73 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.006412/1.051, allocations: 4.452 MB / 1.302 GB, free: 2.066 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/1.052, allocations: 314.6 kB / 1.302 GB, free: 1.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.052, allocations: 177.3 kB / 1.302 GB, free: 1.574 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/1.052, allocations: 93.11 kB / 1.302 GB, free: 1.465 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.052, allocations: 42.55 kB / 1.302 GB, free: 1.414 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/1.052, allocations: 0 / 1.302 GB, free: 1.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.003083/1.055, allocations: 1.711 MB / 1.304 GB, free: 15.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.056, allocations: 59.41 kB / 1.304 GB, free: 15.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/1.059, allocations: 2.945 MB / 1.307 GB, free: 12.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/1.059, allocations: 33.7 kB / 1.307 GB, free: 12.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008784/1.06, allocations: 1.066 MB / 1.308 GB, free: 11.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.06, allocations: 110.4 kB / 1.308 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.06, allocations: 114.1 kB / 1.308 GB, free: 11.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.06, allocations: 322 kB / 1.308 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/1.061, allocations: 165 kB / 1.309 GB, free: 10.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/1.061, allocations: 370.4 kB / 1.309 GB, free: 10.32 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.002039/1.063, allocations: 1.084 MB / 1.31 GB, free: 9.129 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.063, allocations: 4 kB / 1.31 GB, free: 9.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001225/1.064, allocations: 0.7921 MB / 1.311 GB, free: 8.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.064, allocations: 14.28 kB / 1.311 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.064, allocations: 8 kB / 1.311 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/1.065, allocations: 64.81 kB / 1.311 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/1.065, allocations: 103.8 kB / 1.311 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/1.067, allocations: 1.861 MB / 1.313 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/1.067, allocations: 33.05 kB / 1.313 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.068, allocations: 28 kB / 1.313 GB, free: 6.074 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.001028/1.069, allocations: 0.7901 MB / 1.314 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/1.069, allocations: 233 kB / 1.314 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/1.069, allocations: 251.7 kB / 1.314 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.069, allocations: 4 kB / 1.314 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.069, allocations: 7.938 kB / 1.314 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006623/1.07, allocations: 0.597 MB / 1.315 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.074, allocations: 2.045 MB / 1.317 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.074, allocations: 4.406 kB / 1.317 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/1.074, allocations: 71.91 kB / 1.317 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/1.074, allocations: 48.83 kB / 1.317 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/1.074, allocations: 12 kB / 1.317 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/1.076, allocations: 1.857 MB / 1.319 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.076, allocations: 8.062 kB / 1.319 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/1.077, allocations: 0.922 MB / 1.319 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/1.078, allocations: 406.1 kB / 1.32 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/1.078, allocations: 11.98 kB / 1.32 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/1.079, allocations: 12 kB / 1.32 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/1.079, allocations: 35.91 kB / 1.32 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.079, allocations: 19.98 kB / 1.32 GB, free: 14.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003359/1.082, allocations: 2.083 MB / 1.322 GB, free: 12.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.082, allocations: 0 / 1.322 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001163/1.083, allocations: 300 kB / 1.322 GB, free: 11.96 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.00188/1.085, allocations: 1.557 MB / 1.324 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009707/1.086, allocations: 0.5269 MB / 1.324 GB, free: 9.801 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.086, allocations: 4.562 kB / 1.324 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/1.087, allocations: 298.4 kB / 1.325 GB, free: 9.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.091, allocations: 0.9461 MB / 1.325 GB, free: 8.574 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.117, allocations: 17.08 MB / 1.342 GB, free: 7.082 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/1.12, allocations: 1.957 MB / 1.344 GB, free: 5.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001223/1.121, allocations: 342.8 kB / 1.344 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.122, allocations: 0.8 MB / 1.345 GB, free: 3.949 MB / 1.076 GB Notification: Performance of SimCode: time 1.342e-06/1.122, allocations: 4 kB / 1.345 GB, free: 3.945 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09555/1.217, allocations: 51.86 MB / 1.396 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/14.08, allocations: 6.953 kB / 1.396 GB, free: 0.7852 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