Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001756/0.001756, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002134/0.002134, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.355/3.355, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.8 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4077, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004345/0.4121, allocations: 2.826 MB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.4136, allocations: 0.8878 MB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.4138, allocations: 11.94 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.4142, allocations: 119.1 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.4145, allocations: 138.9 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.4146, allocations: 87.88 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.4151, allocations: 457.7 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.4153, allocations: 102.3 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4155, allocations: 163.5 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.4158, allocations: 163.1 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.4158, allocations: 32 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.4159, allocations: 32 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.416, allocations: 75.69 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.4161, allocations: 171.2 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.4166, allocations: 402.3 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4166, allocations: 4 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4166, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.4166, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.061 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.0009919/0.4176, allocations: 0.5716 MB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4176, allocations: 12.03 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.4177, allocations: 44.66 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.4182, allocations: 246.8 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4183, allocations: 33.31 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.4183, allocations: 40.33 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.4189, allocations: 375 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4189, allocations: 4 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.4189, allocations: 16 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.4189, allocations: 8 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.4193, allocations: 207.1 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.4208, allocations: 1.311 MB / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.4212, allocations: 274.7 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.4214, allocations: 111.3 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4214, allocations: 4 kB / 1.373 GB, free: 4.457 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4214, allocations: 38.56 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.4214, allocations: 0 / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0005562/0.422, allocations: 277.2 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.4221, allocations: 136.5 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.4223, allocations: 211.8 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4223, allocations: 29.7 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4225, allocations: 200.4 kB / 1.373 GB, free: 3.516 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.4226, allocations: 123 kB / 1.373 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.4227, allocations: 58.08 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4228, allocations: 334.8 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.423, allocations: 80.59 kB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.4231, allocations: 146 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.4235, allocations: 244.4 kB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4235, allocations: 0 / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004332/0.4239, allocations: 301.4 kB / 1.375 GB, free: 2.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4239, allocations: 11.94 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4239, allocations: 3.938 kB / 1.375 GB, free: 2.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.424, allocations: 4 kB / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.4243, allocations: 83.91 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4243, allocations: 12.73 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.4244, allocations: 27.78 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.4245, allocations: 16.16 kB / 1.375 GB, free: 2.016 MB / 1.061 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.0001604/0.4246, allocations: 153.7 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.4247, allocations: 31.73 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.4248, allocations: 29.39 kB / 1.375 GB, free: 1.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4248, allocations: 4 kB / 1.375 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4248, allocations: 4 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4248, allocations: 4 kB / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.4253, allocations: 245.1 kB / 1.375 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4253, allocations: 0 / 1.375 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.4256, allocations: 79.89 kB / 1.375 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4256, allocations: 8 kB / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.4257, allocations: 11.94 kB / 1.375 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4257, allocations: 0 / 1.375 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4257, allocations: 4 kB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.4263, allocations: 0.6233 MB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.4264, allocations: 39.72 kB / 1.376 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4264, allocations: 11.94 kB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4266, allocations: 8 kB / 1.376 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.4267, allocations: 23.95 kB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4267, allocations: 4 kB / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001305/0.4268, allocations: 156.6 kB / 1.376 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4268, allocations: 0 / 1.376 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004726/0.4273, allocations: 99.78 kB / 1.376 GB, free: 444 kB / 1.061 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.0001318/0.4274, allocations: 107.3 kB / 1.376 GB, free: 328 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.4278, allocations: 183.8 kB / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4278, allocations: 0 / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4279, allocations: 99.78 kB / 1.377 GB, free: 44 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.4285, allocations: 45.47 kB / 1.377 GB, free: 0 / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.4302, allocations: 1.121 MB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.4304, allocations: 188.6 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000113/0.4306, allocations: 34.95 kB / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.4306, allocations: 23.44 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.4306, allocations: 0 / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Templates: time 0.007004/0.4376, allocations: 2.779 MB / 1.381 GB, free: 11.89 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.692707248032093]