Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.HeatCapacityVariableShade,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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001821/0.001821, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.23 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3449, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003537/0.3484, allocations: 2.243 MB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3496, allocations: 0.7125 MB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3498, allocations: 4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.3502, allocations: 99.33 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3503, allocations: 67.47 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.786e-05/0.3504, allocations: 35.95 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.3507, allocations: 215 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3509, allocations: 82.42 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.351, allocations: 75.66 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.3511, allocations: 91.61 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3512, allocations: 16 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.3512, allocations: 12 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.3513, allocations: 35.84 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.3513, allocations: 91.48 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.3516, allocations: 191.3 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3516, allocations: 0 / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3516, allocations: 0 / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3516, allocations: 4 kB / 1.031 GB, free: 14.05 MB / 0.8106 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.0007137/0.3523, allocations: 486.6 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3524, allocations: 8.031 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.3524, allocations: 20.75 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3528, allocations: 257.2 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3528, allocations: 12.38 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.3528, allocations: 16.31 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.3531, allocations: 149.7 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3532, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3532, allocations: 8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.3532, allocations: 4 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3535, allocations: 115.9 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.3542, allocations: 0.4961 MB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.3547, allocations: 166.7 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3548, allocations: 80.81 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3549, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3549, allocations: 38.56 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.3549, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0005107/0.3554, allocations: 204.5 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3555, allocations: 51.41 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3556, allocations: 156 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3556, allocations: 33.7 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.3557, allocations: 124.2 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.3558, allocations: 47.27 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.3558, allocations: 33.7 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.356, allocations: 334.8 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3561, allocations: 51.88 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3562, allocations: 43.97 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3565, allocations: 118.9 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3565, allocations: 0 / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000311/0.3568, allocations: 165.5 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3568, allocations: 4 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3569, allocations: 4 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3569, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3571, allocations: 39.97 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3571, allocations: 0 / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.3572, allocations: 15.84 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3572, allocations: 4 kB / 1.034 GB, free: 10.6 MB / 0.8106 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.0001015/0.3573, allocations: 137.7 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.3574, allocations: 15.8 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.3574, allocations: 17.53 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3574, allocations: 0 / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3575, allocations: 4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3575, allocations: 0 / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3577, allocations: 257.4 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3578, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.358, allocations: 47.91 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.358, allocations: 0 / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.358, allocations: 7.938 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.358, allocations: 0 / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.358, allocations: 0 / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.3585, allocations: 317.8 kB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.3586, allocations: 101 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3587, allocations: 4 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3588, allocations: 11.98 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.3588, allocations: 7.984 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3588, allocations: 8 kB / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.108e-05/0.3589, allocations: 112 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3589, allocations: 0 / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002766/0.3592, allocations: 43.84 kB / 1.035 GB, free: 9.438 MB / 0.8106 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.0001349/0.3594, allocations: 107.2 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3597, allocations: 127.9 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3597, allocations: 0 / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3599, allocations: 66.86 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3602, allocations: 31.92 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.3612, allocations: 0.5517 MB / 1.036 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3615, allocations: 0.7241 MB / 1.036 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.538e-05/0.3616, allocations: 17.55 kB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3616, allocations: 15.44 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3616, allocations: 0 / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of Templates: time 0.004382/0.366, allocations: 1.48 MB / 1.038 GB, free: 6.32 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches