Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.008934/0.008935, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001778/0.001778, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 59.91 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003733/0.3188, allocations: 2.237 MB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3202, allocations: 0.7087 MB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.3205, allocations: 7.938 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.3209, allocations: 99.38 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.3211, allocations: 59.48 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.3212, allocations: 43.88 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3215, allocations: 207 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3217, allocations: 82.42 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.3219, allocations: 83.66 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.322, allocations: 79.62 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3221, allocations: 20 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.013e-05/0.3221, allocations: 16 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.3222, allocations: 43.77 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.784e-05/0.3223, allocations: 91.53 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.3225, allocations: 183.3 kB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3225, allocations: 0 / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3225, allocations: 0 / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.3225, allocations: 0 / 1.212 GB, free: 5.625 MB / 0.9669 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.0007627/0.3233, allocations: 498.6 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3233, allocations: 12.62 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.3234, allocations: 28.64 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3238, allocations: 236.7 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3239, allocations: 12.38 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.3239, allocations: 24.36 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3242, allocations: 149.6 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3242, allocations: 7.906 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3243, allocations: 4 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3243, allocations: 4 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.3246, allocations: 113.5 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.3253, allocations: 0.4961 MB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.3258, allocations: 158.8 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3259, allocations: 84.75 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.326, allocations: 7.938 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.326, allocations: 30.56 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.326, allocations: 0 / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.000493/0.3265, allocations: 199.8 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3265, allocations: 55.41 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3267, allocations: 156.1 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3267, allocations: 25.7 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3268, allocations: 132.1 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.3268, allocations: 51.27 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.3269, allocations: 25.72 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.327, allocations: 330.8 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3271, allocations: 43.97 kB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3273, allocations: 55.91 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3275, allocations: 118.3 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3275, allocations: 0 / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003225/0.3279, allocations: 158.6 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3279, allocations: 8 kB / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3279, allocations: 0 / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3279, allocations: 4 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3281, allocations: 47.91 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3281, allocations: 0 / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.3282, allocations: 4 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3282, allocations: 8 kB / 1.215 GB, free: 2.172 MB / 0.9669 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.0001073/0.3283, allocations: 129.8 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3284, allocations: 15.81 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.3284, allocations: 17.53 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3284, allocations: 11.98 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3284, allocations: 0 / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3284, allocations: 3.984 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3287, allocations: 253.4 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3287, allocations: 0 / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.3289, allocations: 43.91 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.329, allocations: 0 / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.329, allocations: 4 kB / 1.215 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.329, allocations: 7.938 kB / 1.215 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.329, allocations: 4 kB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.3295, allocations: 319.2 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3296, allocations: 100.9 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3296, allocations: 3.938 kB / 1.216 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3297, allocations: 8 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3298, allocations: 7.984 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3298, allocations: 8 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.3299, allocations: 120.2 kB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3299, allocations: 4 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002757/0.3302, allocations: 39.84 kB / 1.216 GB, free: 0.9961 MB / 0.9669 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.0001182/0.3303, allocations: 107.2 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.3306, allocations: 123.8 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3306, allocations: 4 kB / 1.216 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3308, allocations: 67.84 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3311, allocations: 27.91 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.3321, allocations: 0.5477 MB / 1.217 GB, free: 96 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3324, allocations: 0.7318 MB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.638e-05/0.3325, allocations: 17.55 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.3326, allocations: 19.44 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3326, allocations: 0 / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.004363/0.3369, allocations: 1.493 MB / 1.219 GB, free: 13.86 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches