Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.0008042/0.0008043, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008928/0.000893, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 15.98 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8492, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003151/0.8524, allocations: 1.875 MB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.8536, allocations: 0.6625 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.8538, allocations: 8 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.8542, allocations: 83.52 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.8543, allocations: 51.61 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.118e-05/0.8544, allocations: 27.97 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.8547, allocations: 191 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.8549, allocations: 72.16 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.8551, allocations: 63.66 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.8553, allocations: 71.69 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.8553, allocations: 7.938 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.548e-05/0.8553, allocations: 8 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.8554, allocations: 23.86 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.8554, allocations: 57.58 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.8556, allocations: 139.6 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.8556, allocations: 4 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.656e-06/0.8557, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8557, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 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.0008584/0.8565, allocations: 458.7 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8566, allocations: 16.56 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.8566, allocations: 19.72 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.857, allocations: 240.5 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.8571, allocations: 12 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.8571, allocations: 19.95 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.8575, allocations: 153.4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.8575, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.8575, allocations: 8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8575, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.8578, allocations: 123.9 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.8587, allocations: 0.5002 MB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.8592, allocations: 174.7 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.8594, allocations: 80.83 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.8594, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8595, allocations: 30.56 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/0.8595, allocations: 7.984 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.000486/0.86, allocations: 215.4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.86, allocations: 51.41 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.8602, allocations: 157 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.8602, allocations: 25.7 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.8603, allocations: 132.1 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.8604, allocations: 51.2 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.8604, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.8606, allocations: 326.8 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.8608, allocations: 55.97 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.8609, allocations: 49.53 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.861, allocations: 61.84 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.861, allocations: 0 / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003181/0.8613, allocations: 177.3 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.8614, allocations: 11.94 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.8614, allocations: 3.984 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8614, allocations: 4 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.8616, allocations: 39.98 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.8616, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.8617, allocations: 19.89 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.8617, allocations: 8 kB / 1.029 GB, free: 9.27 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.8618, allocations: 129.8 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.8619, allocations: 15.86 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.8619, allocations: 21.52 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8619, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.862, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.862, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.8623, allocations: 257.4 kB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8623, allocations: 4 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.8625, allocations: 35.98 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.8625, allocations: 11.94 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.8625, allocations: 7.938 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.8625, allocations: 4 kB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8625, allocations: 3.938 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.8631, allocations: 323.2 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.8632, allocations: 93.05 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.8632, allocations: 11.95 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.8633, allocations: 11.89 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.8634, allocations: 15.98 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8634, allocations: 4 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.835e-05/0.8635, allocations: 125.6 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8635, allocations: 0 / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002656/0.8637, allocations: 39.94 kB / 1.03 GB, free: 8.086 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001387/0.8639, allocations: 107.2 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.8642, allocations: 133 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8643, allocations: 0 / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.8644, allocations: 78 kB / 1.03 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.8648, allocations: 27.94 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8658, allocations: 0.6912 MB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8661, allocations: 0.7285 MB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.899e-05/0.8662, allocations: 17.53 kB / 1.032 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.8663, allocations: 19.44 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/0.8663, allocations: 0 / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.004025/0.8703, allocations: 1.306 MB / 1.033 GB, free: 4.961 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches