Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.001397/0.001397, 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.001688/0.001688, allocations: 214.4 kB / 22.25 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.295/3.295, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.HeatCapacityVariableShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade") [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.003273/0.003273, allocations: 73.55 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4312, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.004378/0.4356, allocations: 2.163 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.4372, allocations: 0.7048 MB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.4374, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.438, allocations: 95.47 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.4382, allocations: 63.42 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.4383, allocations: 43.94 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.4386, allocations: 203 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.4388, allocations: 54.66 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.439, allocations: 83.66 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.4392, allocations: 75.62 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.4392, allocations: 12 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.796e-05/0.4392, allocations: 16 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.4393, allocations: 43.77 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.4394, allocations: 83.59 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.4397, allocations: 183.2 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4397, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4397, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.016e-06/0.4397, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008733/0.4406, allocations: 418.9 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4406, allocations: 16.02 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.4407, allocations: 24.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.4412, allocations: 187.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.4412, allocations: 12.38 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.4412, allocations: 16.31 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.4416, allocations: 154 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.4416, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4416, allocations: 12 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4416, allocations: 7.938 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.4419, allocations: 107.9 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.4427, allocations: 407.9 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.4432, allocations: 154.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.4434, allocations: 76.75 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.4434, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.4434, allocations: 34.56 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.4434, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005707/0.444, allocations: 193.5 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.444, allocations: 51.41 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.4442, allocations: 159.3 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.4442, allocations: 33.7 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.4443, allocations: 124.4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.4444, allocations: 59.47 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.4445, allocations: 33.66 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4446, allocations: 326.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4448, allocations: 47.88 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4449, allocations: 49.53 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.4452, allocations: 114.8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4452, allocations: 3.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003609/0.4455, allocations: 169.4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4456, allocations: 8 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4456, allocations: 0 / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4456, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.4458, allocations: 43.91 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4458, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.4459, allocations: 19.89 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4459, allocations: 4 kB / 1.332 GB, free: 10.87 MB / 1.029 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 (18): * Single equations (assignments): 18 * 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.0001343/0.446, allocations: 134.3 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.4461, allocations: 11.95 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.4461, allocations: 13.47 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4461, allocations: 7.938 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4461, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4461, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.4464, allocations: 185.1 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4464, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4466, allocations: 35.98 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4466, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4466, allocations: 3.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4466, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4466, allocations: 3.984 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.4472, allocations: 319 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.4473, allocations: 27.88 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4473, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4474, allocations: 11.98 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.4474, allocations: 11.98 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.4475, allocations: 4 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001075/0.4476, allocations: 116 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4476, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002979/0.4479, allocations: 43.89 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.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 (15): * Single equations (assignments): 15 * 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.0001708/0.448, allocations: 99.25 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.4484, allocations: 115.9 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4484, allocations: 0 / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.4486, allocations: 63.89 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4489, allocations: 27.94 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.4501, allocations: 0.5482 MB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4502, allocations: 120.2 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.185e-05/0.4503, allocations: 25.45 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.4503, allocations: 15.44 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4503, allocations: 0 / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of Templates: time 0.005642/0.456, allocations: 1.713 MB / 1.336 GB, free: 7.16 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.45029011927545]