Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001315, allocations: 109.6 kB / 16.41 MB, free: 6.406 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.00161/0.00161, allocations: 190.1 kB / 17.34 MB, free: 5.695 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7755, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002995/0.7786, allocations: 2.233 MB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.7795, allocations: 0.7094 MB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.7797, allocations: 4.781 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.7801, allocations: 97.11 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.7802, allocations: 66.66 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.257e-05/0.7803, allocations: 44.52 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.7805, allocations: 215.4 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.7807, allocations: 73.41 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.7808, allocations: 83.59 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.7809, allocations: 85.98 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.781, allocations: 15.12 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.781, allocations: 15 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.7811, allocations: 35.12 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.7812, allocations: 96.36 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.7814, allocations: 185.9 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7814, allocations: 4 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7814, allocations: 0 / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7814, allocations: 1 kB / 1.092 GB, free: 2.949 MB / 0.8575 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.0006312/0.7821, allocations: 495.8 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7821, allocations: 10.39 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.7822, allocations: 18.91 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.7825, allocations: 260.1 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.7825, allocations: 14.91 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.7825, allocations: 18.41 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.7828, allocations: 149.2 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7829, allocations: 0 / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.7829, allocations: 9.531 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7829, allocations: 4.297 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.7832, allocations: 117 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.7839, allocations: 0.4944 MB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.7843, allocations: 166.4 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.7844, allocations: 72.91 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.7845, allocations: 1.5 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.7845, allocations: 36.25 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.7845, allocations: 4 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004957/0.785, allocations: 199.3 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.785, allocations: 53.06 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.7851, allocations: 153.2 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.7852, allocations: 27.3 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.7852, allocations: 126.4 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.7852, allocations: 58.08 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.7853, allocations: 33.33 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.7854, allocations: 326.8 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.7855, allocations: 49.22 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.7856, allocations: 50.08 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.7859, allocations: 115 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7859, allocations: 4 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003256/0.7862, allocations: 164.4 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7862, allocations: 4.531 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7863, allocations: 1.5 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7863, allocations: 0.8125 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.7864, allocations: 36.56 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7865, allocations: 2.156 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.7866, allocations: 22.36 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.7866, allocations: 7.922 kB / 1.096 GB, free: 0.5977 MB / 0.8575 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 6.964e-05/0.7866, allocations: 129.4 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.7867, allocations: 14.66 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.7867, allocations: 22.06 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7867, allocations: 1.688 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.7868, allocations: 1.453 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7868, allocations: 4.5 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.787, allocations: 248.7 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.787, allocations: 5.453 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.7872, allocations: 36.95 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7872, allocations: 1.062 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.7872, allocations: 6.016 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7872, allocations: 1.188 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7872, allocations: 0 / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.7878, allocations: 324 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.7879, allocations: 103 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.7879, allocations: 1.312 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.788, allocations: 10.31 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.7881, allocations: 12.59 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7881, allocations: 2.844 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.917e-05/0.7882, allocations: 119.2 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7882, allocations: 0 / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002778/0.7885, allocations: 43.69 kB / 1.097 GB, free: 15.79 MB / 0.8731 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.0001226/0.7886, allocations: 112.3 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.7889, allocations: 118.8 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7889, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.7891, allocations: 62.67 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7894, allocations: 34.64 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.7905, allocations: 0.5794 MB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.7908, allocations: 0.7282 MB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.7908, allocations: 16.22 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.7908, allocations: 0.625 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.004055/0.7949, allocations: 1.982 MB / 1.1 GB, free: 14.33 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches