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.001113/0.001113, 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.001188/0.001188, allocations: 196.3 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.329/2.329, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5676/0.5691, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003258/0.5724, allocations: 3.01 MB / 0.9527 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.5734, allocations: 0.9056 MB / 0.9536 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.5736, allocations: 8.25 kB / 0.9536 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.574, allocations: 132 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.5742, allocations: 134.4 kB / 0.9538 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.5743, allocations: 97.72 kB / 0.9539 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.5746, allocations: 447.8 kB / 0.9543 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.5749, allocations: 159.5 kB / 0.9545 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.575, allocations: 157 kB / 0.9546 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.5752, allocations: 181.3 kB / 0.9548 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.5752, allocations: 30.88 kB / 0.9548 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.346e-05/0.5753, allocations: 31.53 kB / 0.9549 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.5754, allocations: 81.84 kB / 0.9549 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.5755, allocations: 195.3 kB / 0.9551 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.5758, allocations: 391.3 kB / 0.9555 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5758, allocations: 1.5 kB / 0.9555 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5758, allocations: 0 / 0.9555 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5758, allocations: 3.938 kB / 0.9555 GB, free: 4.723 MB / 0.7169 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.0007307/0.5765, allocations: 0.6381 MB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5766, allocations: 8.844 kB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.5766, allocations: 78.75 kB / 0.9562 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.5767, allocations: 41.56 kB / 0.9563 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.577, allocations: 300.9 kB / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.5771, allocations: 32.03 kB / 0.9566 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.5771, allocations: 39.62 kB / 0.9566 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.5775, allocations: 363 kB / 0.957 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.5776, allocations: 9.156 kB / 0.957 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5776, allocations: 16.03 kB / 0.957 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5776, allocations: 8.875 kB / 0.957 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.5779, allocations: 210.1 kB / 0.9572 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.5791, allocations: 1.479 MB / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.5795, allocations: 291.2 kB / 0.9589 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.5796, allocations: 118.8 kB / 0.959 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.5796, allocations: 6.688 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.5796, allocations: 45.3 kB / 0.9591 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.5796, allocations: 1.375 kB / 0.9591 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0004657/0.5801, allocations: 275.6 kB / 0.9593 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5802, allocations: 131.8 kB / 0.9595 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.5803, allocations: 241.9 kB / 0.9597 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5804, allocations: 30.92 kB / 0.9597 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.5804, allocations: 193.1 kB / 0.9599 GB, free: 1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.5805, allocations: 111.9 kB / 0.96 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.5806, allocations: 61.17 kB / 0.9601 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.5806, allocations: 341.5 kB / 0.9604 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.5807, allocations: 70.88 kB / 0.9605 GB, free: 500 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.5809, allocations: 152.2 kB / 0.9606 GB, free: 368 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.5811, allocations: 238.4 kB / 0.9608 GB, free: 192 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5812, allocations: 0 / 0.9608 GB, free: 192 kB / 0.7169 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003692/0.5815, allocations: 308.6 kB / 0.9611 GB, free: 24 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5816, allocations: 6.812 kB / 0.9611 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5816, allocations: 2.281 kB / 0.9611 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5816, allocations: 7.703 kB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.5819, allocations: 88.09 kB / 0.9612 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5819, allocations: 8.438 kB / 0.9612 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.5821, allocations: 39.14 kB / 0.9613 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.5821, allocations: 11.19 kB / 0.9613 GB, free: 15.96 MB / 0.7325 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.0001343/0.5823, allocations: 159.2 kB / 0.9614 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.5824, allocations: 33.95 kB / 0.9615 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.5824, allocations: 28.75 kB / 0.9615 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.5825, allocations: 4.531 kB / 0.9615 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5825, allocations: 1.062 kB / 0.9615 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5825, allocations: 6.203 kB / 0.9615 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.583, allocations: 346.3 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.583, allocations: 9.188 kB / 0.9619 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.5834, allocations: 88.62 kB / 0.9619 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.5834, allocations: 2.469 kB / 0.9619 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.5835, allocations: 7.875 kB / 0.9619 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5835, allocations: 1.344 kB / 0.9619 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5835, allocations: 1.375 kB / 0.9619 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.584, allocations: 0.6228 MB / 0.9626 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.5841, allocations: 124.2 kB / 0.9627 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.5842, allocations: 6.562 kB / 0.9627 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.5844, allocations: 6.562 kB / 0.9627 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.5844, allocations: 21.16 kB / 0.9627 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5845, allocations: 6.219 kB / 0.9627 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000158/0.5846, allocations: 174.7 kB / 0.9629 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5846, allocations: 0 / 0.9629 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004782/0.5851, allocations: 94.22 kB / 0.963 GB, free: 14.64 MB / 0.7325 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.0008071/0.5859, allocations: 1.184 MB / 0.9641 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.5863, allocations: 215.4 kB / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5863, allocations: 0 / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5864, allocations: 97.94 kB / 0.9644 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.5871, allocations: 47.62 kB / 0.9645 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.5914, allocations: 3.576 MB / 0.968 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.5918, allocations: 0.7952 MB / 0.9687 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.592, allocations: 31.72 kB / 0.9688 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.5921, allocations: 113.7 kB / 0.9689 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.5921, allocations: 0 / 0.9689 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.6167, allocations: 5.617 MB / 0.9744 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/8.193, allocations: 11.69 kB / 0.9744 GB, free: 7.086 MB / 0.7325 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