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.001448/0.001448, 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.001654/0.001654, allocations: 193.1 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.235/1.235, 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.102/2.102, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 60.14 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.47, allocations: 140.4 MB / 0.9497 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.002856/0.4729, allocations: 3.013 MB / 0.9527 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.4737, allocations: 0.9027 MB / 0.9535 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.4739, allocations: 11.28 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.4742, allocations: 128 kB / 0.9537 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.4744, allocations: 138.6 kB / 0.9538 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.4745, allocations: 89.81 kB / 0.9539 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.4748, allocations: 456.5 kB / 0.9543 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.475, allocations: 151.1 kB / 0.9545 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4752, allocations: 164.8 kB / 0.9546 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.4753, allocations: 185.1 kB / 0.9548 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.4754, allocations: 35.41 kB / 0.9548 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.4754, allocations: 31.62 kB / 0.9549 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.4755, allocations: 73.78 kB / 0.9549 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.4756, allocations: 199 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4759, allocations: 393.5 kB / 0.9555 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4759, allocations: 0 / 0.9555 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4759, allocations: 0 / 0.9555 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4759, allocations: 0 / 0.9555 GB, free: 4.926 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.0008022/0.4767, allocations: 0.6414 MB / 0.9561 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4768, allocations: 9.281 kB / 0.9561 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.4768, allocations: 70.72 kB / 0.9562 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.4769, allocations: 41.53 kB / 0.9562 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.4772, allocations: 315.7 kB / 0.9565 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4773, allocations: 27.88 kB / 0.9566 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.4773, allocations: 39.66 kB / 0.9566 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.4777, allocations: 367.1 kB / 0.957 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.4778, allocations: 5.938 kB / 0.957 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.4778, allocations: 15.94 kB / 0.957 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4778, allocations: 8.875 kB / 0.957 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.4781, allocations: 207 kB / 0.9572 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4793, allocations: 1.472 MB / 0.9586 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.4796, allocations: 290.9 kB / 0.9589 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.4798, allocations: 111.7 kB / 0.959 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.4798, allocations: 10.69 kB / 0.959 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.4798, allocations: 45.23 kB / 0.9591 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.4798, allocations: 0 / 0.9591 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0004215/0.4802, allocations: 280.4 kB / 0.9593 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.4803, allocations: 135.7 kB / 0.9595 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4804, allocations: 245.7 kB / 0.9597 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4805, allocations: 27.39 kB / 0.9597 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.4805, allocations: 189.1 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4806, allocations: 111.8 kB / 0.96 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.4806, allocations: 60.86 kB / 0.9601 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.4807, allocations: 341.6 kB / 0.9604 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4808, allocations: 71.25 kB / 0.9605 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4809, allocations: 148.8 kB / 0.9606 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4812, allocations: 240.8 kB / 0.9608 GB, free: 404 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4812, allocations: 8.875 kB / 0.9608 GB, free: 396 kB / 0.7169 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003285/0.4815, allocations: 303.7 kB / 0.9611 GB, free: 232 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4815, allocations: 6.406 kB / 0.9611 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4815, allocations: 6.391 kB / 0.9611 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4815, allocations: 8.438 kB / 0.9611 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4818, allocations: 87.75 kB / 0.9612 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4818, allocations: 9.062 kB / 0.9612 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.482, allocations: 30.78 kB / 0.9613 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.482, allocations: 19.03 kB / 0.9613 GB, free: 172 kB / 0.7169 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 8.677e-05/0.4821, allocations: 151.7 kB / 0.9614 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4822, allocations: 33.55 kB / 0.9615 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.4823, allocations: 32.55 kB / 0.9615 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4823, allocations: 8.047 kB / 0.9615 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4823, allocations: 5.031 kB / 0.9615 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4823, allocations: 6.266 kB / 0.9615 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.4828, allocations: 345.7 kB / 0.9618 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4828, allocations: 5.312 kB / 0.9619 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.4831, allocations: 81.5 kB / 0.9619 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4831, allocations: 2.156 kB / 0.9619 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.4831, allocations: 7.719 kB / 0.9619 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4831, allocations: 2.5 kB / 0.9619 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4831, allocations: 1.156 kB / 0.9619 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.4836, allocations: 0.6221 MB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.4837, allocations: 127.8 kB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.4838, allocations: 7.812 kB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.484, allocations: 6.219 kB / 0.9627 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.484, allocations: 20.84 kB / 0.9627 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.484, allocations: 10.16 kB / 0.9627 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001278/0.4842, allocations: 171.1 kB / 0.9629 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4842, allocations: 0 / 0.9629 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004083/0.4846, allocations: 93.72 kB / 0.963 GB, free: 14.85 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.0007261/0.4853, allocations: 1.187 MB / 0.9641 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.4856, allocations: 214 kB / 0.9643 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4857, allocations: 0 / 0.9643 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4858, allocations: 98.58 kB / 0.9644 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.4864, allocations: 48.03 kB / 0.9645 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.4899, allocations: 3.583 MB / 0.968 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4902, allocations: 0.796 MB / 0.9687 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.4903, allocations: 31.94 kB / 0.9688 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4905, allocations: 108.6 kB / 0.9689 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.4905, allocations: 1.125 kB / 0.9689 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4697/0.9601, allocations: 5.624 MB / 0.9744 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/8.355, allocations: 3.938 kB / 0.9744 GB, free: 7.285 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 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.mat","/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