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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.001456/0.001457, allocations: 187 kB / 17.34 MB, free: 5.766 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 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.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.9526, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1945/1.147, allocations: 179.3 MB / 1.342 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01684/1.164, allocations: 10.98 MB / 1.353 GB, free: 4.859 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/1.167, allocations: 95.5 kB / 1.353 GB, free: 4.766 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005925/1.173, allocations: 2.001 MB / 1.355 GB, free: 2.754 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/1.178, allocations: 1.663 MB / 1.357 GB, free: 1.082 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/1.181, allocations: 0.789 MB / 1.358 GB, free: 304 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004739/1.186, allocations: 3.151 MB / 1.361 GB, free: 13.14 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/1.188, allocations: 1.313 MB / 1.362 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/1.19, allocations: 1.159 MB / 1.363 GB, free: 10.63 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/1.193, allocations: 1.111 MB / 1.364 GB, free: 9.523 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005347/1.193, allocations: 124 kB / 1.364 GB, free: 9.402 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/1.196, allocations: 0.9238 MB / 1.365 GB, free: 8.477 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007138/1.196, allocations: 482 kB / 1.366 GB, free: 8.004 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/1.198, allocations: 1.095 MB / 1.367 GB, free: 6.902 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/1.203, allocations: 3.457 MB / 1.37 GB, free: 3.434 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.203, allocations: 4 kB / 1.37 GB, free: 3.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/1.203, allocations: 0 / 1.37 GB, free: 3.43 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000111/1.204, allocations: 0 / 1.37 GB, free: 3.43 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.005544/1.209, allocations: 2.808 MB / 1.373 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.209, allocations: 12.92 kB / 1.373 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/1.211, allocations: 372.5 kB / 1.373 GB, free: 184 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/1.215, allocations: 2.021 MB / 1.375 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/1.215, allocations: 58 kB / 1.375 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.215, allocations: 72 kB / 1.375 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/1.217, allocations: 0.9407 MB / 1.376 GB, free: 12.98 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/1.217, allocations: 3.938 kB / 1.376 GB, free: 12.98 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/1.217, allocations: 32 kB / 1.376 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/1.217, allocations: 28.94 kB / 1.376 GB, free: 12.92 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.218, allocations: 0.6986 MB / 1.377 GB, free: 12.22 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.006786/1.225, allocations: 4.452 MB / 1.381 GB, free: 7.555 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/1.225, allocations: 310.9 kB / 1.382 GB, free: 7.242 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/1.226, allocations: 184.8 kB / 1.382 GB, free: 7.059 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.226, allocations: 105.1 kB / 1.382 GB, free: 6.938 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.226, allocations: 35 kB / 1.382 GB, free: 6.895 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.415e-06/1.226, allocations: 0 / 1.382 GB, free: 6.895 MB / 1.107 GB Notification: Performance of matching and sorting (n=32): time 0.00349/1.23, allocations: 1.703 MB / 1.384 GB, free: 5.109 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.23, allocations: 55.41 kB / 1.384 GB, free: 5.043 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/1.234, allocations: 2.949 MB / 1.387 GB, free: 2.078 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/1.234, allocations: 37.7 kB / 1.387 GB, free: 2.035 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.236, allocations: 1.054 MB / 1.388 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.236, allocations: 118.4 kB / 1.388 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/1.236, allocations: 114 kB / 1.388 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.236, allocations: 322 kB / 1.388 GB, free: 428 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/1.236, allocations: 169 kB / 1.388 GB, free: 256 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/1.237, allocations: 366.4 kB / 1.389 GB, free: 15.81 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.00214/1.239, allocations: 1.085 MB / 1.39 GB, free: 14.62 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.239, allocations: 7.938 kB / 1.39 GB, free: 14.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001353/1.24, allocations: 0.7887 MB / 1.391 GB, free: 13.81 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.24, allocations: 8 kB / 1.391 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.24, allocations: 8 kB / 1.391 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/1.241, allocations: 61.34 kB / 1.391 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/1.241, allocations: 103.8 kB / 1.391 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/1.243, allocations: 1.869 MB / 1.393 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009358/1.244, allocations: 28.45 kB / 1.393 GB, free: 11.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/1.244, allocations: 27.94 kB / 1.393 GB, free: 11.57 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.001129/1.245, allocations: 0.7901 MB / 1.393 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/1.245, allocations: 229.1 kB / 1.394 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/1.246, allocations: 255.8 kB / 1.394 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.246, allocations: 4 kB / 1.394 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.246, allocations: 0 / 1.394 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006716/1.246, allocations: 0.6055 MB / 1.394 GB, free: 9.613 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/1.25, allocations: 2.048 MB / 1.396 GB, free: 7.457 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.25, allocations: 4 kB / 1.396 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.25, allocations: 63.91 kB / 1.396 GB, free: 7.391 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/1.25, allocations: 56.92 kB / 1.397 GB, free: 7.332 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/1.251, allocations: 11.98 kB / 1.397 GB, free: 7.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/1.252, allocations: 1.857 MB / 1.398 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.252, allocations: 7.938 kB / 1.398 GB, free: 5.316 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/1.253, allocations: 0.9264 MB / 1.399 GB, free: 4.328 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/1.254, allocations: 406.1 kB / 1.4 GB, free: 3.91 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/1.255, allocations: 11.98 kB / 1.4 GB, free: 3.898 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/1.255, allocations: 12 kB / 1.4 GB, free: 3.887 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/1.255, allocations: 35.91 kB / 1.4 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/1.255, allocations: 19.98 kB / 1.4 GB, free: 3.832 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003182/1.259, allocations: 2.087 MB / 1.402 GB, free: 1.742 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.4e-07/1.259, allocations: 0 / 1.402 GB, free: 1.742 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001137/1.26, allocations: 300 kB / 1.402 GB, free: 1.449 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.0004423/1.26, allocations: 184.9 kB / 1.402 GB, free: 1.27 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009328/1.261, allocations: 0.5305 MB / 1.403 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.261, allocations: 4 kB / 1.403 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/1.261, allocations: 288.7 kB / 1.403 GB, free: 440 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.265, allocations: 0.9461 MB / 1.404 GB, free: 15.51 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/1.272, allocations: 3.956 MB / 1.408 GB, free: 11.47 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.274, allocations: 1.816 MB / 1.41 GB, free: 9.625 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/1.274, allocations: 107.4 kB / 1.41 GB, free: 9.52 MB / 1.139 GB Notification: Performance of SimCode: time 7.22e-07/1.274, allocations: 4 kB / 1.41 GB, free: 9.516 MB / 1.139 GB Notification: Performance of Templates: time 0.06074/1.335, allocations: 43.24 MB / 1.452 GB, free: 14.48 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (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 & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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