Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000536/0.000536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007732/0.001309, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004533/0.0004533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008571/0.00131, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.2863/0.2863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05575/0.3421, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.5782/0.5782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1355/0.7136, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.11e-05/4.359e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.0055/0.005544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0002823/0.005826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.00584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.005886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.005936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.006168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.006237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.36e-05/0.006261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.00632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.006368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.006384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.006591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.006619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.006635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.006759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.864e-05/0.006787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.565e-06/0.00679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.432e-05/0.006814, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006376/0.007452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.007519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.007597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.007706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.007775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.007792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.007928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.007964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.007989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.008033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.008342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.00838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.008411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.00846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.008482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 2.825e-06/0.008485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001132/0.008598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.008649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.0087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.008741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.008761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.008772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.008801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.168e-05/0.008823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-06/0.00883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.008841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.008869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.00887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3) (initialization): time 5.182e-05/0.008922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.008931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.008934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.008949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.008984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.008986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.009002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.009013, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.009077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.009101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.009216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.009234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.009257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.009271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.009419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.009427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.009436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.00945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.009463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.009476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.009488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 4.685e-05/0.009535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.009566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.009617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.009681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.009701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.009709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.716e-05/0.009726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.313e-06/0.009728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001987/0.009926, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003097/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 9.713e-05/0.01033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.01034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.01034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.01116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.072e-05/0.01119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.481e-05/0.01124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.01136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.504e-05/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0008835/0.01226, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.5770398519234732]