Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_latest_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_latest_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.005381/0.005381, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001248/0.001248, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.675/2.675, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.94 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.325, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004713/0.3298, allocations: 3.066 MB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3315, allocations: 0.8879 MB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.3319, allocations: 7.938 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.3326, allocations: 123.6 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.3331, allocations: 119.1 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3334, allocations: 79.92 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.334, allocations: 429.8 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.3343, allocations: 133.4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.3345, allocations: 151.4 kB / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.3348, allocations: 175.2 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.3349, allocations: 24 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.335, allocations: 20 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.3351, allocations: 67.7 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.3353, allocations: 187 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3356, allocations: 299.2 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3356, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3356, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.3356, allocations: 0 / 1.058 GB, free: 2.559 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001089/0.3367, allocations: 0.6396 MB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.3368, allocations: 15.97 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3369, allocations: 40.47 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.3374, allocations: 312.4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.3374, allocations: 29.38 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.3375, allocations: 36.36 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.3381, allocations: 367 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.3381, allocations: 11.84 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.3381, allocations: 16 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3382, allocations: 11.94 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.3385, allocations: 208.6 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3403, allocations: 1.474 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3407, allocations: 290.6 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3409, allocations: 115.4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3409, allocations: 8 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.3409, allocations: 46.44 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.341, allocations: 0 / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0005697/0.3415, allocations: 273.2 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.3416, allocations: 136.5 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3419, allocations: 238.6 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3419, allocations: 33.7 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.342, allocations: 192.1 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.3421, allocations: 114.4 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.3422, allocations: 65.98 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3424, allocations: 338.8 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3425, allocations: 68.72 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.3427, allocations: 157.8 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.343, allocations: 236.4 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.343, allocations: 0 / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004376/0.3434, allocations: 301.1 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3435, allocations: 8 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3435, allocations: 0 / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3435, allocations: 4 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.3438, allocations: 87.91 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3439, allocations: 16.08 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3441, allocations: 39.59 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3441, allocations: 12 kB / 1.064 GB, free: 12.29 MB / 0.8262 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.0001581/0.3442, allocations: 145.8 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3444, allocations: 35.64 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.3444, allocations: 33.72 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3445, allocations: 7.938 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3445, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3445, allocations: 7.984 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.3451, allocations: 346 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3451, allocations: 0 / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.3454, allocations: 87.84 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3455, allocations: 0 / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.3455, allocations: 11.94 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3455, allocations: 8 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3455, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.3461, allocations: 0.6264 MB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3462, allocations: 124.7 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.3463, allocations: 4 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3465, allocations: 15.94 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3466, allocations: 23.97 kB / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3466, allocations: 8 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001484/0.3467, allocations: 174 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3468, allocations: 0 / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004888/0.3472, allocations: 91.75 kB / 1.066 GB, free: 10.47 MB / 0.8262 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.0001435/0.3474, allocations: 111.3 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.3478, allocations: 208.2 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3478, allocations: 0 / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.3479, allocations: 99.78 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.3487, allocations: 40.48 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.3506, allocations: 1.293 MB / 1.067 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3509, allocations: 0.7873 MB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.351, allocations: 27.44 kB / 1.068 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.351, allocations: 0 / 1.068 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.006448/0.3575, allocations: 3.489 MB / 1.072 GB, free: 4.363 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches