Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009123/0.009123, allocations: 100.8 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 190.8 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.326, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003766/0.3298, allocations: 3.015 MB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3311, allocations: 0.8996 MB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3313, allocations: 8 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.3317, allocations: 135 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3319, allocations: 134.8 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.3321, allocations: 95.88 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.3325, allocations: 453.7 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.3328, allocations: 153.9 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.333, allocations: 159.4 kB / 1.172 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.3332, allocations: 183.1 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.3333, allocations: 32 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.3333, allocations: 36 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3334, allocations: 75.75 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3336, allocations: 195 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.334, allocations: 402.3 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.334, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.624e-06/0.334, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.334, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 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.0009068/0.3349, allocations: 0.6508 MB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.335, allocations: 8.031 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.335, allocations: 48.64 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.3355, allocations: 316.6 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.3356, allocations: 21.38 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.3356, allocations: 44.31 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.3361, allocations: 371 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3362, allocations: 7.953 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.3362, allocations: 16 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3362, allocations: 8 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.3365, allocations: 200.6 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.338, allocations: 1.478 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.3384, allocations: 290.6 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3386, allocations: 115.4 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3386, allocations: 3.938 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3386, allocations: 46.44 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.3386, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0005309/0.3392, allocations: 281.6 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.3393, allocations: 136.5 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3395, allocations: 238.6 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3395, allocations: 29.7 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3397, allocations: 192.5 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.3398, allocations: 119 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.3399, allocations: 62.03 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3401, allocations: 342.8 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3402, allocations: 68.72 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.3404, allocations: 161.7 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.3407, allocations: 236.4 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3407, allocations: 4 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004236/0.3412, allocations: 301.2 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3412, allocations: 10.34 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3412, allocations: 11.94 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.3413, allocations: 4 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.3416, allocations: 95.83 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3416, allocations: 4 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.3418, allocations: 28.53 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3418, allocations: 12 kB / 1.178 GB, free: 10.57 MB / 0.9356 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.0001671/0.342, allocations: 145.8 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3421, allocations: 39.73 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.693e-05/0.3422, allocations: 37.7 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.3422, allocations: 4 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3422, allocations: 4 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3422, allocations: 0 / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.3428, allocations: 349.3 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3428, allocations: 0 / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.3432, allocations: 87.83 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3432, allocations: 0 / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3432, allocations: 12 kB / 1.179 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3432, allocations: 4 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3432, allocations: 0 / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.3439, allocations: 0.6243 MB / 1.179 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3441, allocations: 128.8 kB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.3441, allocations: 4 kB / 1.18 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3443, allocations: 12.17 kB / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3444, allocations: 16.08 kB / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3444, allocations: 19.88 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000157/0.3446, allocations: 170 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3446, allocations: 0 / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004676/0.345, allocations: 95.89 kB / 1.18 GB, free: 8.746 MB / 0.9356 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.0001807/0.3452, allocations: 107.2 kB / 1.18 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.3456, allocations: 216.1 kB / 1.18 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3457, allocations: 4 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3458, allocations: 95.84 kB / 1.18 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.3464, allocations: 56.08 kB / 1.18 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3482, allocations: 1.131 MB / 1.181 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3487, allocations: 0.7834 MB / 1.182 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000103/0.3488, allocations: 34.95 kB / 1.182 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.3488, allocations: 27.44 kB / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3488, allocations: 0 / 1.182 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of Templates: time 0.006194/0.355, allocations: 2.58 MB / 1.185 GB, free: 3.684 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches