Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.00134/0.00134, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009239/0.0009239, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.8892/0.8892, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.963/1.963, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.011e-06/1.011e-06, allocations: 0 / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.606e-05, allocations: 6.656 kB / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001587/0.001603, allocations: 1.332 MB / 0.8808 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.002586, allocations: 0.8552 MB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.00261, allocations: 0 / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.002771, allocations: 12.64 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.002793, allocations: 4.625 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.003198, allocations: 194.5 kB / 0.8818 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.003247, allocations: 15.92 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.663e-05/0.003274, allocations: 4 kB / 0.8818 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.003304, allocations: 11.98 kB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.00334, allocations: 11.95 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.003348, allocations: 3.938 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.003636, allocations: 259.5 kB / 0.8821 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.003672, allocations: 15.98 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.003687, allocations: 7.938 kB / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.00393, allocations: 255.3 kB / 0.8824 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003932, allocations: 0 / 0.8824 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003932, allocations: 4 kB / 0.8824 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003936, allocations: 0 / 0.8824 GB, free: 3.004 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002707/0.004207, allocations: 408.1 kB / 0.8827 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.004234, allocations: 8.938 kB / 0.8828 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.004259, allocations: 8.891 kB / 0.8828 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.504e-05/0.004334, allocations: 121.5 kB / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.004343, allocations: 384 / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-06/0.004348, allocations: 384 / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.072e-05/0.004399, allocations: 38.95 kB / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004405, allocations: 0 / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.00441, allocations: 3.984 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004415, allocations: 1.125 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.19e-05/0.004426, allocations: 7.938 kB / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.106e-05/0.004517, allocations: 109.3 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.004554, allocations: 28.06 kB / 0.8831 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.004567, allocations: 16.45 kB / 0.8831 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.004597, allocations: 4 kB / 0.8831 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.004615, allocations: 33.95 kB / 0.8831 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.004615, allocations: 5.438 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 8.79e-05/0.004703, allocations: 45.53 kB / 0.8832 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.004729, allocations: 55.41 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.004812, allocations: 201.5 kB / 0.8834 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.004821, allocations: 29.7 kB / 0.8834 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.004863, allocations: 140.2 kB / 0.8836 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.004877, allocations: 7.984 kB / 0.8836 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.004902, allocations: 23.38 kB / 0.8836 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005008, allocations: 0.4923 MB / 0.8841 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.005019, allocations: 5.25 kB / 0.8841 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.00503, allocations: 8 kB / 0.8841 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.005061, allocations: 31.67 kB / 0.8841 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005063, allocations: 1.281 kB / 0.8841 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.368e-05/0.005127, allocations: 61.58 kB / 0.8842 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.005137, allocations: 4 kB / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005142, allocations: 3.438 kB / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.005151, allocations: 7.922 kB / 0.8842 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.005186, allocations: 4 kB / 0.8842 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.005188, allocations: 0 / 0.8842 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.005201, allocations: 7.891 kB / 0.8842 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.005206, allocations: 4 kB / 0.8842 GB, free: 0.9258 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 5.382e-05/0.005259, allocations: 152.6 kB / 0.8844 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-06/0.005265, allocations: 8 kB / 0.8844 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.00532, allocations: 50.2 kB / 0.8844 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005322, allocations: 3.938 kB / 0.8844 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005324, allocations: 0 / 0.8844 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005326, allocations: 4.156 kB / 0.8844 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.808e-05/0.005384, allocations: 109.2 kB / 0.8845 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.005385, allocations: 4 kB / 0.8845 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-06/0.005392, allocations: 0 / 0.8845 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-07/0.005393, allocations: 0 / 0.8845 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.005396, allocations: 4 kB / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.005397, allocations: 0 / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005397, allocations: 0 / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.91e-05/0.005446, allocations: 80.38 kB / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.005454, allocations: 7.953 kB / 0.8846 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.005461, allocations: 3.938 kB / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-06/0.005466, allocations: 4.031 kB / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.005476, allocations: 7.938 kB / 0.8846 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.005478, allocations: 3.938 kB / 0.8846 GB, free: 440 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.005518, allocations: 143.2 kB / 0.8848 GB, free: 296 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005518, allocations: 0 / 0.8848 GB, free: 296 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001736/0.005692, allocations: 59.86 kB / 0.8848 GB, free: 236 kB / 0.8386 GB 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 (2): * Single equations (assignments): 2 * 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.0001988/0.00589, allocations: 175.1 kB / 0.885 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.005955, allocations: 27.67 kB / 0.885 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.005956, allocations: 0 / 0.885 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.005963, allocations: 11.69 kB / 0.885 GB, free: 0 / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.00614, allocations: 24.16 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.006311, allocations: 150 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.738e-05/0.006338, allocations: 63.41 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.006358, allocations: 12.11 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.006416, allocations: 94.17 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.006416, allocations: 0 / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.003736/0.01015, allocations: 2.561 MB / 0.8879 GB, free: 13.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.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: 4.846558480989188]