Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_9_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.00773/0.00773, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001973/0.001973, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 62.97 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2444, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004147/0.2486, allocations: 3.024 MB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2502, allocations: 0.8998 MB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.2504, allocations: 8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004719/0.2509, allocations: 127 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.2512, allocations: 150.8 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2515, allocations: 83.91 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.252, allocations: 453.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.2522, allocations: 157.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2525, allocations: 163.4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.2527, allocations: 183.2 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.2528, allocations: 28 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.2528, allocations: 32 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.2529, allocations: 83.69 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.2531, allocations: 195 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.2535, allocations: 398.3 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2535, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2535, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2536, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 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.0009709/0.2545, allocations: 0.6508 MB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2546, allocations: 8.031 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.102e-05/0.2547, allocations: 78.66 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.2548, allocations: 48.7 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.2552, allocations: 316.5 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2553, allocations: 29.31 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.2554, allocations: 44.31 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.2559, allocations: 362.9 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2559, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.2559, allocations: 16 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.256, allocations: 8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.2563, allocations: 208.6 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.2581, allocations: 1.486 MB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.2586, allocations: 274.7 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2588, allocations: 123.4 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2588, allocations: 11.88 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2588, allocations: 34.56 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.2588, allocations: 0 / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006016/0.2594, allocations: 282.3 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.2595, allocations: 136.5 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.2598, allocations: 238.6 kB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2598, allocations: 29.7 kB / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.26, allocations: 192.5 kB / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2601, allocations: 126.9 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.2602, allocations: 58.08 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2604, allocations: 338.8 kB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2605, allocations: 72.72 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.2607, allocations: 153.7 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.2611, allocations: 240.4 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2611, allocations: 0 / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000459/0.2615, allocations: 301.2 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2616, allocations: 4.156 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2616, allocations: 8 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2616, allocations: 4 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.262, allocations: 91.84 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.262, allocations: 4 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2622, allocations: 31.73 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.2622, allocations: 15.98 kB / 1.099 GB, free: 5.66 MB / 0.8575 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.000162/0.2623, allocations: 145.8 kB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2625, allocations: 39.73 kB / 1.099 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.2626, allocations: 33.7 kB / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2626, allocations: 4 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2626, allocations: 7.938 kB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2626, allocations: 0 / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.2632, allocations: 349.3 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.2632, allocations: 7.938 kB / 1.1 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.2636, allocations: 79.91 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2636, allocations: 0 / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2636, allocations: 11.98 kB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.2637, allocations: 4 kB / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2637, allocations: 3.938 kB / 1.1 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.2644, allocations: 0.6203 MB / 1.1 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.2645, allocations: 124.8 kB / 1.1 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.2646, allocations: 8 kB / 1.1 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.2648, allocations: 4 kB / 1.1 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2649, allocations: 28 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2649, allocations: 12.06 kB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000183/0.2651, allocations: 174 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2651, allocations: 0 / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005179/0.2656, allocations: 95.84 kB / 1.101 GB, free: 3.84 MB / 0.8575 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.001027/0.2666, allocations: 1.18 MB / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.267, allocations: 200.9 kB / 1.102 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.267, allocations: 0 / 1.102 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2672, allocations: 103.8 kB / 1.102 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.2679, allocations: 55.17 kB / 1.102 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.2724, allocations: 3.576 MB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2727, allocations: 0.7872 MB / 1.107 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.2729, allocations: 30.95 kB / 1.107 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.273, allocations: 107.4 kB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.273, allocations: 4 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2987, allocations: 5.735 MB / 1.112 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.154, allocations: 5.562 kB / 1.112 GB, free: 8.055 MB / 0.8731 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches