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.006966/0.006966, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001811/0.001811, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.301/2.301, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.16 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2472, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.0043/0.2516, allocations: 3.023 MB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2531, allocations: 0.9062 MB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.2534, allocations: 8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.2539, allocations: 127.1 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.2543, allocations: 138.8 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.2545, allocations: 95.88 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.255, allocations: 445.8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.2553, allocations: 157.9 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2555, allocations: 159.4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.2558, allocations: 179.1 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.2559, allocations: 35.98 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.2559, allocations: 32 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.256, allocations: 75.7 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2562, allocations: 199 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.2566, allocations: 403.4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2566, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2566, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2566, allocations: 3.938 kB / 1.093 GB, free: 11.98 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.0009654/0.2576, allocations: 0.6318 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2577, allocations: 12.02 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.2577, allocations: 78.72 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.2578, allocations: 40.47 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.2583, allocations: 308.4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2584, allocations: 25.38 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.2584, allocations: 36.38 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.2589, allocations: 370.8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.259, allocations: 11.91 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.259, allocations: 12 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.259, allocations: 8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.2594, allocations: 215.6 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.2609, allocations: 1.478 MB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.2613, allocations: 286.5 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2614, allocations: 115.5 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2615, allocations: 7.938 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2615, allocations: 46.5 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.2615, allocations: 0 / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0005091/0.262, allocations: 273.2 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2621, allocations: 136.5 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.2623, allocations: 242.5 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2624, allocations: 29.7 kB / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2625, allocations: 188.2 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.2626, allocations: 118.3 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.2627, allocations: 62.08 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2628, allocations: 342.8 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2629, allocations: 72.72 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2631, allocations: 149.8 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2634, allocations: 240.4 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2634, allocations: 4 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004178/0.2638, allocations: 293 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2638, allocations: 8 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2638, allocations: 4 kB / 1.099 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2639, allocations: 4 kB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2642, allocations: 91.89 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2642, allocations: 8.094 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.2644, allocations: 39.62 kB / 1.099 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2644, allocations: 8 kB / 1.099 GB, free: 5.645 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.0001375/0.2645, allocations: 149.8 kB / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.2646, allocations: 27.66 kB / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.2647, allocations: 33.7 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2647, allocations: 4 kB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2647, allocations: 0 / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2647, allocations: 7.984 kB / 1.099 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.2653, allocations: 350 kB / 1.1 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2653, allocations: 3.938 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.2657, allocations: 87.89 kB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2657, allocations: 3.984 kB / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2657, allocations: 11.94 kB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2657, allocations: 8 kB / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2657, allocations: 0 / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.2663, allocations: 0.6241 MB / 1.1 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2664, allocations: 120.6 kB / 1.1 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.2664, allocations: 7.984 kB / 1.1 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2667, allocations: 8 kB / 1.1 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2667, allocations: 15.98 kB / 1.1 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2667, allocations: 8 kB / 1.1 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001445/0.2669, allocations: 178 kB / 1.101 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2669, allocations: 4 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004819/0.2674, allocations: 95.75 kB / 1.101 GB, free: 3.828 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.0008287/0.2682, allocations: 1.176 MB / 1.102 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.2685, allocations: 200.5 kB / 1.102 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2685, allocations: 0 / 1.102 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2687, allocations: 95.84 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.0006209/0.2693, allocations: 57.11 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.003883/0.2732, allocations: 3.555 MB / 1.106 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.2736, allocations: 0.7911 MB / 1.106 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.2737, allocations: 34.97 kB / 1.107 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2738, allocations: 107.4 kB / 1.107 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.2738, allocations: 0 / 1.107 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.2989, allocations: 5.749 MB / 1.112 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.948, allocations: 0 / 1.112 GB, free: 8.062 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