Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.001836/0.001836, allocations: 83.75 kB / 20.23 MB, free: 4.176 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.001966/0.001966, allocations: 157.4 kB / 23.55 MB, free: 0.8672 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 1.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.064/3.064, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.962e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.005166/0.005196, allocations: 3.028 MB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.007009, allocations: 0.91 MB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.007177, allocations: 8 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.007683, allocations: 127.9 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.007977, allocations: 149.8 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.008169, allocations: 95.78 kB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.008742, allocations: 474 kB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.008985, allocations: 98.38 kB / 0.8156 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.00935, allocations: 252.9 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.009599, allocations: 131.5 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.009671, allocations: 32 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.278e-05/0.009744, allocations: 33.16 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.009832, allocations: 79.67 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.01002, allocations: 139.7 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.01056, allocations: 403.7 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01056, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01056, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.01057, allocations: 0.8438 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001422/0.01199, allocations: 0.6929 MB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.01203, allocations: 12.88 kB / 0.8173 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.01216, allocations: 68.66 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.01266, allocations: 259.5 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.0127, allocations: 25.38 kB / 0.8176 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.01277, allocations: 44.27 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.01342, allocations: 406.3 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.01344, allocations: 192 / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.01347, allocations: 16.38 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.01349, allocations: 15.88 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.01391, allocations: 203.3 kB / 0.8183 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.01609, allocations: 1.812 MB / 0.8201 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/0.01661, allocations: 305 kB / 0.8204 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.01681, allocations: 123.3 kB / 0.8205 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.01684, allocations: 5.344 kB / 0.8205 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.01688, allocations: 41.39 kB / 0.8205 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.01688, allocations: 0 / 0.8205 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.000644/0.01752, allocations: 286.6 kB / 0.8208 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.01763, allocations: 140.4 kB / 0.8209 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.01795, allocations: 290.4 kB / 0.8212 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.01798, allocations: 30.36 kB / 0.8212 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.01818, allocations: 243.8 kB / 0.8215 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.0183, allocations: 130.9 kB / 0.8216 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.01843, allocations: 78.64 kB / 0.8217 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003207/0.01875, allocations: 0.5157 MB / 0.8222 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.01889, allocations: 68.72 kB / 0.8222 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.01914, allocations: 182.1 kB / 0.8224 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.01957, allocations: 275.3 kB / 0.8227 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01957, allocations: 0 / 0.8227 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005228/0.02009, allocations: 317.3 kB / 0.823 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.02011, allocations: 6.656 kB / 0.823 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.02012, allocations: 4.938 kB / 0.823 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.02013, allocations: 4 kB / 0.823 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.02049, allocations: 91.83 kB / 0.8231 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.02051, allocations: 9.062 kB / 0.8231 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.02065, allocations: 31.78 kB / 0.8231 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.02067, allocations: 12 kB / 0.8231 GB, free: 5.102 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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 0.0001952/0.02087, allocations: 193.5 kB / 0.8233 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.02098, allocations: 36.98 kB / 0.8233 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.097e-05/0.02106, allocations: 29.45 kB / 0.8234 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.02107, allocations: 4 kB / 0.8234 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.02108, allocations: 12.94 kB / 0.8234 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.02108, allocations: 0 / 0.8234 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.02165, allocations: 292.4 kB / 0.8237 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.02165, allocations: 8.672 kB / 0.8237 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/0.02245, allocations: 79.89 kB / 0.8237 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.02245, allocations: 1.656 kB / 0.8237 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.02247, allocations: 8 kB / 0.8238 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.02248, allocations: 4 kB / 0.8238 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02248, allocations: 0 / 0.8238 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.02338, allocations: 0.815 MB / 0.8246 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.02347, allocations: 41.09 kB / 0.8246 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.02351, allocations: 12 kB / 0.8246 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.02372, allocations: 4 kB / 0.8246 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.02378, allocations: 24.77 kB / 0.8246 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.0238, allocations: 12 kB / 0.8246 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000199/0.02399, allocations: 196.5 kB / 0.8248 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02399, allocations: 5.562 kB / 0.8248 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005008/0.0245, allocations: 99.78 kB / 0.8249 GB, free: 3.191 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T) * 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 (30): * Single equations (assignments): 30 * 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.0001658/0.02466, allocations: 113.9 kB / 0.825 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.02507, allocations: 211.4 kB / 0.8252 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02507, allocations: 0 / 0.8252 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.02525, allocations: 111.5 kB / 0.8253 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.02591, allocations: 49.77 kB / 0.8254 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.02762, allocations: 0.9359 MB / 0.8263 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.02786, allocations: 180.7 kB / 0.8265 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.02796, allocations: 26.97 kB / 0.8265 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.02803, allocations: 24.5 kB / 0.8265 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.02803, allocations: 4 kB / 0.8265 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of Templates: time 0.007385/0.03541, allocations: 2.302 MB / 0.8288 GB, free: 15.23 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.134642357006669]