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.007811/0.007811, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001777/0.001778, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.382/2.382, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2811, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.8098/1.091, allocations: 179.3 MB / 1.341 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01772/1.109, allocations: 10.97 MB / 1.352 GB, free: 2.738 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/1.112, allocations: 98.09 kB / 1.352 GB, free: 2.703 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00653/1.119, allocations: 2.011 MB / 1.354 GB, free: 1.711 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005436/1.124, allocations: 1.66 MB / 1.356 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/1.127, allocations: 0.7901 MB / 1.357 GB, free: 284 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005457/1.132, allocations: 3.148 MB / 1.36 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/1.135, allocations: 1.315 MB / 1.361 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/1.138, allocations: 1.157 MB / 1.362 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/1.141, allocations: 1.111 MB / 1.363 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006621/1.141, allocations: 127.6 kB / 1.363 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.144, allocations: 0.9251 MB / 1.364 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009234/1.145, allocations: 477.7 kB / 1.365 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/1.148, allocations: 1.089 MB / 1.366 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005902/1.154, allocations: 3.461 MB / 1.369 GB, free: 9.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.154, allocations: 2.5 kB / 1.369 GB, free: 9.992 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/1.154, allocations: 3.938 kB / 1.369 GB, free: 9.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001204/1.154, allocations: 0 / 1.369 GB, free: 9.988 MB / 1.045 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.006204/1.16, allocations: 2.807 MB / 1.372 GB, free: 7.918 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.16, allocations: 9.625 kB / 1.372 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/1.16, allocations: 127.5 kB / 1.372 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/1.162, allocations: 377.8 kB / 1.372 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/1.166, allocations: 2.014 MB / 1.374 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/1.166, allocations: 57.66 kB / 1.374 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.166, allocations: 73.88 kB / 1.374 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.168, allocations: 0.9427 MB / 1.375 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.168, allocations: 2.594 kB / 1.375 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/1.168, allocations: 32.06 kB / 1.375 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/1.168, allocations: 32.47 kB / 1.375 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/1.169, allocations: 0.6977 MB / 1.376 GB, free: 5.191 MB / 1.045 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.006545/1.175, allocations: 4.454 MB / 1.38 GB, free: 1.594 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/1.176, allocations: 309.1 kB / 1.381 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/1.176, allocations: 184.3 kB / 1.381 GB, free: 1.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/1.176, allocations: 95.56 kB / 1.381 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.176, allocations: 37.97 kB / 1.381 GB, free: 1.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/1.176, allocations: 0 / 1.381 GB, free: 1.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.003595/1.18, allocations: 1.703 MB / 1.383 GB, free: 4 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.18, allocations: 58.03 kB / 1.383 GB, free: 15.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004809/1.185, allocations: 2.954 MB / 1.386 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/1.185, allocations: 32.92 kB / 1.386 GB, free: 14.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.186, allocations: 1.056 MB / 1.387 GB, free: 13.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/1.186, allocations: 113.4 kB / 1.387 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.186, allocations: 111.3 kB / 1.387 GB, free: 13.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.186, allocations: 333.2 kB / 1.387 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/1.187, allocations: 165.7 kB / 1.387 GB, free: 12.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/1.187, allocations: 368 kB / 1.388 GB, free: 12.55 MB / 1.061 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.002074/1.189, allocations: 1.076 MB / 1.389 GB, free: 11.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.189, allocations: 6.5 kB / 1.389 GB, free: 11.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001342/1.19, allocations: 0.7903 MB / 1.389 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.191, allocations: 10.12 kB / 1.389 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.191, allocations: 7.312 kB / 1.39 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/1.191, allocations: 64.09 kB / 1.39 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.191, allocations: 97.97 kB / 1.39 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/1.193, allocations: 1.875 MB / 1.391 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.194, allocations: 36.59 kB / 1.392 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/1.194, allocations: 29.27 kB / 1.392 GB, free: 9.477 MB / 1.061 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.001113/1.195, allocations: 0.7874 MB / 1.392 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/1.195, allocations: 232.9 kB / 1.393 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/1.196, allocations: 257 kB / 1.393 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.196, allocations: 6.625 kB / 1.393 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.196, allocations: 2.344 kB / 1.393 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006729/1.197, allocations: 0.5996 MB / 1.393 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/1.2, allocations: 2.041 MB / 1.395 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.2, allocations: 6.812 kB / 1.395 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/1.201, allocations: 61.59 kB / 1.395 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/1.201, allocations: 59.22 kB / 1.395 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.201, allocations: 8.875 kB / 1.396 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.202, allocations: 1.865 MB / 1.397 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.202, allocations: 5.094 kB / 1.397 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.204, allocations: 0.9273 MB / 1.398 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008894/1.205, allocations: 404.1 kB / 1.399 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/1.205, allocations: 8.75 kB / 1.399 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.206, allocations: 23.8 kB / 1.399 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/1.206, allocations: 36.44 kB / 1.399 GB, free: 3.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.206, allocations: 10.09 kB / 1.399 GB, free: 3.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003365/1.209, allocations: 2.086 MB / 1.401 GB, free: 2.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/1.209, allocations: 0 / 1.401 GB, free: 2.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001324/1.211, allocations: 306.1 kB / 1.401 GB, free: 2.82 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.001896/1.213, allocations: 1.541 MB / 1.403 GB, free: 1.492 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009519/1.214, allocations: 0.5309 MB / 1.403 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.214, allocations: 4 kB / 1.403 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/1.214, allocations: 294.4 kB / 1.403 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/1.218, allocations: 0.9481 MB / 1.404 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/1.245, allocations: 17.08 MB / 1.421 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/1.247, allocations: 1.957 MB / 1.423 GB, free: 12.23 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001188/1.248, allocations: 346.8 kB / 1.423 GB, free: 11.89 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.249, allocations: 0.8039 MB / 1.424 GB, free: 11.08 MB / 1.092 GB Notification: Performance of SimCode: time 1.042e-06/1.249, allocations: 4 kB / 1.424 GB, free: 11.08 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09062/1.34, allocations: 51.2 MB / 1.474 GB, free: 8.59 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.94, allocations: 12.8 kB / 1.474 GB, free: 8.586 MB / 1.139 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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