Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 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.001698/0.001698, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.73 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2617, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002207/0.264, allocations: 1.242 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2657, allocations: 1.247 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.2657, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2658, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.2665, allocations: 211.3 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.2666, allocations: 31.94 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.2666, allocations: 15.92 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.2667, allocations: 4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.2667, allocations: 8 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2669, allocations: 29.22 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2669, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.2673, allocations: 239.7 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2673, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.2673, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.2676, allocations: 211.6 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2677, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2677, allocations: 3.938 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2677, allocations: 0 / 1.067 GB, free: 11.2 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003863/0.2681, allocations: 383.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2681, allocations: 12.03 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.2682, allocations: 114 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.2683, allocations: 76.22 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2684, allocations: 247.5 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.2684, allocations: 150.9 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.2685, allocations: 154.9 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.277e-05/0.2685, allocations: 104.9 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.2686, allocations: 83.2 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.2686, allocations: 150.6 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-05/0.2687, allocations: 154.6 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.2687, allocations: 154.6 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.269, allocations: 442 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.269, allocations: 169.1 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2691, allocations: 92.06 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2691, allocations: 87.14 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2691, allocations: 109.8 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2691, allocations: 0 / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.041e-05/0.2692, allocations: 25.7 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.2693, allocations: 207.8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.2694, allocations: 101.8 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2694, allocations: 25.7 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.2695, allocations: 80.14 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.2695, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.2695, allocations: 21.72 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.2696, allocations: 310.8 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-06/0.2696, allocations: 3.938 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.2696, allocations: 30.64 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.2697, allocations: 79.28 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.2697, allocations: 75.28 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.815e-05/0.2698, allocations: 33.64 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.2698, allocations: 83.28 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.2698, allocations: 79.22 kB / 1.07 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.803e-05/0.2699, allocations: 154.6 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.366e-05/0.2699, allocations: 79.28 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.136e-05/0.27, allocations: 158.5 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.2701, allocations: 83.27 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.2701, allocations: 83.22 kB / 1.071 GB, free: 6.621 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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 9.935e-05/0.2702, allocations: 260.4 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.2703, allocations: 108.9 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.2704, allocations: 112 kB / 1.071 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/0.2704, allocations: 180.2 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.977e-05/0.2705, allocations: 184.3 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/0.2705, allocations: 180.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2707, allocations: 401.2 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/0.2708, allocations: 108.9 kB / 1.072 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.2708, allocations: 104.9 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.923e-05/0.2709, allocations: 180.3 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.2709, allocations: 192.2 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.864e-05/0.271, allocations: 180.3 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.161e-05/0.271, allocations: 180.2 kB / 1.073 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2712, allocations: 311.8 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.2712, allocations: 186 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.2713, allocations: 180.3 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2714, allocations: 101 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.2715, allocations: 188.2 kB / 1.074 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.2715, allocations: 101 kB / 1.074 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.2716, allocations: 87.28 kB / 1.074 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2716, allocations: 0 / 1.074 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003803/0.272, allocations: 71.98 kB / 1.074 GB, free: 2.879 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0009394/0.2729, allocations: 1.05 MB / 1.075 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.022e-05/0.2729, allocations: 0 / 1.075 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.273, allocations: 4 kB / 1.075 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.273, allocations: 0 / 1.075 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.2733, allocations: 466.1 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.2738, allocations: 236.9 kB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.274, allocations: 0.6728 MB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.274, allocations: 4 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.274, allocations: 15.42 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.274, allocations: 4 kB / 1.077 GB, free: 412 kB / 0.8262 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).