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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004234/0.004234, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001222/0.001222, allocations: 189.3 kB / 16.67 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.482/2.482, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2467, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002831/0.2495, allocations: 2.223 MB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.2504, allocations: 0.7127 MB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.2505, allocations: 7.938 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.2508, allocations: 95.41 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.2509, allocations: 67.47 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.598e-05/0.251, allocations: 43.94 kB / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.2512, allocations: 211 kB / 1.245 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2514, allocations: 86.34 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.2515, allocations: 75.66 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.2516, allocations: 79.62 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2516, allocations: 16 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.2517, allocations: 20 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.2517, allocations: 43.83 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.2518, allocations: 91.53 kB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.252, allocations: 183.1 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.252, allocations: 0 / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.252, allocations: 0 / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.252, allocations: 4 kB / 1.246 GB, free: 5.828 MB / 0.9981 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.0006356/0.2527, allocations: 0.4945 MB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2527, allocations: 8.031 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.2528, allocations: 46.73 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.2528, allocations: 24.83 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2531, allocations: 245.6 kB / 1.247 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2531, allocations: 8.375 kB / 1.247 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.2531, allocations: 28.31 kB / 1.247 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2534, allocations: 146.8 kB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2534, allocations: 0 / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2535, allocations: 8 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2535, allocations: 4 kB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2537, allocations: 124.4 kB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.2543, allocations: 0.4924 MB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.2547, allocations: 162.8 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2549, allocations: 84.81 kB / 1.248 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2549, allocations: 0 / 1.248 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.2549, allocations: 30.56 kB / 1.248 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 9.01e-07/0.2549, allocations: 4 kB / 1.248 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0004377/0.2554, allocations: 193.4 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2554, allocations: 55.41 kB / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2556, allocations: 164 kB / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2556, allocations: 29.7 kB / 1.248 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.2556, allocations: 124.3 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2557, allocations: 59.53 kB / 1.248 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.2557, allocations: 29.72 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2559, allocations: 326.8 kB / 1.249 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.256, allocations: 51.97 kB / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2561, allocations: 49.53 kB / 1.249 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.2563, allocations: 113.8 kB / 1.249 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2563, allocations: 0 / 1.249 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002949/0.2566, allocations: 165.5 kB / 1.249 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.2567, allocations: 6.344 kB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.2567, allocations: 0 / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2567, allocations: 8 kB / 1.249 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2568, allocations: 35.97 kB / 1.249 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2569, allocations: 4 kB / 1.249 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.2569, allocations: 19.83 kB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.2569, allocations: 4 kB / 1.249 GB, free: 2.297 MB / 0.9981 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 8.891e-05/0.257, allocations: 130.3 kB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.2571, allocations: 15.91 kB / 1.249 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.2571, allocations: 17.53 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2571, allocations: 7.984 kB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2571, allocations: 0 / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2571, allocations: 4 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.2574, allocations: 257.4 kB / 1.249 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2574, allocations: 0 / 1.249 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2576, allocations: 43.84 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2576, allocations: 4 kB / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2576, allocations: 4 kB / 1.249 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2576, allocations: 0 / 1.249 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2576, allocations: 0 / 1.249 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.2581, allocations: 322.2 kB / 1.25 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.2582, allocations: 97 kB / 1.25 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.2582, allocations: 8 kB / 1.25 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.2583, allocations: 4 kB / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.2583, allocations: 11.98 kB / 1.25 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.2583, allocations: 8 kB / 1.25 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.575e-05/0.2584, allocations: 116 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2584, allocations: 0 / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002223/0.2586, allocations: 43.89 kB / 1.25 GB, free: 1.133 MB / 0.9981 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.0007219/0.2594, allocations: 0.8528 MB / 1.251 GB, free: 260 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.2597, allocations: 119.9 kB / 1.251 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2597, allocations: 3.938 kB / 1.251 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.2598, allocations: 66.72 kB / 1.251 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2601, allocations: 35.89 kB / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4208/0.6809, allocations: 2.1 MB / 1.253 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.6811, allocations: 0.728 MB / 1.254 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.925e-05/0.6811, allocations: 13.52 kB / 1.254 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.6812, allocations: 53.44 kB / 1.254 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/0.6812, allocations: 0 / 1.254 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.672/5.353, allocations: 3.401 MB / 1.257 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/21.85, allocations: 8.5 kB / 1.257 GB, free: 12.4 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > 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/jenkins1/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