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.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.001646/0.001646, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 69.7 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2624, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003853/0.2663, allocations: 3.011 MB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2676, allocations: 0.8998 MB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2677, allocations: 8 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.2682, allocations: 131 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.2684, allocations: 134.9 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.2686, allocations: 95.83 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.269, allocations: 453.8 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.2692, allocations: 149.9 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2693, allocations: 159.4 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2695, allocations: 179.1 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2696, allocations: 32 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.2697, allocations: 28 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.2697, allocations: 87.62 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.2699, allocations: 199.1 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.2702, allocations: 386.6 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2702, allocations: 0 / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2702, allocations: 4 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2702, allocations: 0 / 1.069 GB, free: 8.555 MB / 0.8262 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.0008956/0.2711, allocations: 0.6434 MB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2712, allocations: 15.97 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.2713, allocations: 66.72 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.2713, allocations: 48.47 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.2717, allocations: 300.5 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2718, allocations: 29.38 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.2718, allocations: 36.38 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.2723, allocations: 362.9 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.2723, allocations: 7.906 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.2724, allocations: 20 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.2724, allocations: 8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.2727, allocations: 206.4 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2741, allocations: 1.486 MB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.2744, allocations: 294.7 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.2746, allocations: 115.3 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2746, allocations: 3.938 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2746, allocations: 46.5 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.502e-06/0.2746, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0004895/0.2751, allocations: 277.2 kB / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2752, allocations: 136.5 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.2754, allocations: 242.5 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2754, allocations: 29.7 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.2755, allocations: 188.2 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.2756, allocations: 122.3 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.2757, allocations: 58.08 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2758, allocations: 346.7 kB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.2759, allocations: 72.72 kB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.2761, allocations: 146 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.2764, allocations: 245.1 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2764, allocations: 4 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003879/0.2768, allocations: 304.9 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2768, allocations: 8 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2768, allocations: 4 kB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2769, allocations: 4 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.2772, allocations: 91.89 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2772, allocations: 4.156 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2773, allocations: 35.69 kB / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2773, allocations: 12 kB / 1.075 GB, free: 2.219 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.0001212/0.2775, allocations: 154.2 kB / 1.075 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2776, allocations: 31.66 kB / 1.075 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.2776, allocations: 33.7 kB / 1.075 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2777, allocations: 4 kB / 1.075 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2777, allocations: 0 / 1.075 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2777, allocations: 7.984 kB / 1.075 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.2782, allocations: 345.2 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2782, allocations: 3.938 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.2785, allocations: 87.89 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2785, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2786, allocations: 8 kB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2786, allocations: 4 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2786, allocations: 0 / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.2791, allocations: 0.6243 MB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.2792, allocations: 120.7 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2792, allocations: 7.984 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.2795, allocations: 8 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2795, allocations: 15.98 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.2795, allocations: 8 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001364/0.2797, allocations: 174 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2797, allocations: 7.938 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004515/0.2801, allocations: 103.7 kB / 1.077 GB, free: 408 kB / 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.0007654/0.2809, allocations: 1.179 MB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.2812, allocations: 212 kB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2812, allocations: 0 / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2814, allocations: 96.09 kB / 1.078 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.282, allocations: 51.58 kB / 1.078 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.2857, allocations: 3.566 MB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.286, allocations: 0.791 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.2861, allocations: 38.94 kB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2862, allocations: 111.3 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2862, allocations: 0 / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3093, allocations: 5.625 MB / 1.088 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.704, allocations: 8.812 kB / 1.088 GB, free: 4.73 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv","/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