Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [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.0009511/0.0009511, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [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.9488/0.9488, allocations: 177.1 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.771/1.771, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.584e-05, allocations: 2.906 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003213/0.003249, allocations: 2.242 MB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.005231, allocations: 1.493 MB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.00539, allocations: 7.938 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.006006, allocations: 174.8 kB / 0.7909 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.006498, allocations: 179.8 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.006906, allocations: 120.1 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.007288, allocations: 246.9 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.007461, allocations: 29.11 kB / 0.7915 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.007666, allocations: 128.4 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.0078, allocations: 79.73 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.007828, allocations: 12.91 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.00795, allocations: 55.91 kB / 0.7918 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.753e-05/0.008038, allocations: 100.1 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.008109, allocations: 69.03 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.008489, allocations: 250.9 kB / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.008494, allocations: 0 / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.008496, allocations: 0 / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.008502, allocations: 5.281 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007573/0.009259, allocations: 0.7242 MB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.0093, allocations: 12.03 kB / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.009384, allocations: 57.2 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.00974, allocations: 289.7 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.009762, allocations: 12.3 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.009782, allocations: 9.406 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.009949, allocations: 104.3 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.00996, allocations: 0 / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.009971, allocations: 4.906 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.00998, allocations: 0 / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.01003, allocations: 25.14 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.01057, allocations: 467.5 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.0107, allocations: 59.95 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.01074, allocations: 21.89 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.01076, allocations: 0 / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.01088, allocations: 94.75 kB / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.01089, allocations: 0 / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002465/0.01113, allocations: 125.3 kB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.01116, allocations: 58.52 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.01154, allocations: 0.5378 MB / 0.7947 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01156, allocations: 29.7 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.01172, allocations: 282.8 kB / 0.795 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.01174, allocations: 19.84 kB / 0.795 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.0118, allocations: 47.36 kB / 0.795 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.01195, allocations: 0.5548 MB / 0.7956 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.012, allocations: 19.92 kB / 0.7956 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.01207, allocations: 85.91 kB / 0.7957 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.01215, allocations: 59.3 kB / 0.7957 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01215, allocations: 0 / 0.7957 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001659/0.01231, allocations: 148.8 kB / 0.7959 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01233, allocations: 10.28 kB / 0.7959 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01233, allocations: 0.9688 kB / 0.7959 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01235, allocations: 3.984 kB / 0.7959 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.01244, allocations: 35.92 kB / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01245, allocations: 0.9688 kB / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.01251, allocations: 11.92 kB / 0.7959 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.01253, allocations: 12.81 kB / 0.7959 GB, free: 3.227 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.398e-05/0.01262, allocations: 165.5 kB / 0.7961 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.01266, allocations: 51.66 kB / 0.7962 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.01283, allocations: 122.2 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01284, allocations: 0 / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01284, allocations: 1.531 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01284, allocations: 3.984 kB / 0.7963 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01306, allocations: 280.5 kB / 0.7965 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01306, allocations: 0 / 0.7965 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.01309, allocations: 7.625 kB / 0.7966 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01309, allocations: 0 / 0.7966 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.0131, allocations: 4 kB / 0.7966 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0131, allocations: 0 / 0.7966 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0131, allocations: 0 / 0.7966 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.01325, allocations: 160 kB / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.01329, allocations: 43.66 kB / 0.7967 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.01332, allocations: 8 kB / 0.7968 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.447e-05/0.01336, allocations: 4 kB / 0.7968 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.01341, allocations: 7.969 kB / 0.7968 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.01342, allocations: 8.906 kB / 0.7968 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002359/0.01366, allocations: 330.8 kB / 0.7971 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01366, allocations: 1.062 kB / 0.7971 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002001/0.01386, allocations: 47.94 kB / 0.7971 GB, free: 1.93 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009478/0.01481, allocations: 400.2 kB / 0.7975 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01498, allocations: 67.59 kB / 0.7976 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01498, allocations: 0 / 0.7976 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.01503, allocations: 35.72 kB / 0.7976 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.0153, allocations: 65.12 kB / 0.7977 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.01625, allocations: 0.5743 MB / 0.7982 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.01634, allocations: 111.9 kB / 0.7983 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.01642, allocations: 29.78 kB / 0.7984 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.01647, allocations: 24.48 kB / 0.7984 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01647, allocations: 0 / 0.7984 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of Templates: time 0.006454/0.02293, allocations: 3.042 MB / 0.8014 GB, free: 13.74 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.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: 5.298936855047941]