Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.001207/0.001207, 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.001205/0.001205, allocations: 198 kB / 16.54 MB, free: 6.672 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.089/2.089, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4917, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.0026/0.4944, allocations: 2.214 MB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007123/0.4951, allocations: 0.7137 MB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.4952, allocations: 3.719 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.4955, allocations: 97.03 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.4956, allocations: 67.45 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.87e-05/0.4957, allocations: 48.38 kB / 0.9528 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.4959, allocations: 205.6 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.496, allocations: 81.47 kB / 0.9531 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.4961, allocations: 77.09 kB / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.394e-05/0.4962, allocations: 93.2 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.4962, allocations: 15.66 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.4963, allocations: 14.59 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.4963, allocations: 35.94 kB / 0.9533 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.4964, allocations: 89.86 kB / 0.9534 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.4965, allocations: 187.8 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4965, allocations: 5.219 kB / 0.9536 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4965, allocations: 0 / 0.9536 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4965, allocations: 0 / 0.9536 GB, free: 6.121 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005265/0.4971, allocations: 482.5 kB / 0.954 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4971, allocations: 9.969 kB / 0.954 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.4971, allocations: 51.95 kB / 0.9541 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4972, allocations: 31.41 kB / 0.9541 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.4974, allocations: 252.1 kB / 0.9543 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4974, allocations: 13.66 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4974, allocations: 14.66 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.4977, allocations: 154.1 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4977, allocations: 3.938 kB / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4977, allocations: 6.188 kB / 0.9545 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4977, allocations: 7.406 kB / 0.9545 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.498, allocations: 108.9 kB / 0.9546 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.4985, allocations: 0.5019 MB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.4988, allocations: 157.4 kB / 0.9553 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.499, allocations: 79.27 kB / 0.9554 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.499, allocations: 1.438 kB / 0.9554 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/0.499, allocations: 32 kB / 0.9554 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.499, allocations: 3.938 kB / 0.9554 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0004062/0.4995, allocations: 195.4 kB / 0.9556 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.4995, allocations: 56.62 kB / 0.9556 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.4996, allocations: 157.9 kB / 0.9558 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.4996, allocations: 25.7 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.4996, allocations: 129 kB / 0.9559 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4997, allocations: 53.89 kB / 0.956 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.4997, allocations: 31.45 kB / 0.956 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.4997, allocations: 334.7 kB / 0.9563 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.4999, allocations: 43.78 kB / 0.9564 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.5, allocations: 51.28 kB / 0.9564 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5002, allocations: 120.9 kB / 0.9565 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5002, allocations: 0 / 0.9565 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002624/0.5004, allocations: 154.9 kB / 0.9567 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.5005, allocations: 4.594 kB / 0.9567 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5005, allocations: 5.672 kB / 0.9567 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.5005, allocations: 4 kB / 0.9567 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.5006, allocations: 43.36 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5006, allocations: 1.844 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.5007, allocations: 15.39 kB / 0.9568 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.5007, allocations: 7.688 kB / 0.9568 GB, free: 3.445 MB / 0.7169 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 (18): * Single equations (assignments): 18 * 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 5.565e-05/0.5008, allocations: 125 kB / 0.9569 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.5008, allocations: 11.06 kB / 0.9569 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.5009, allocations: 27.27 kB / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5009, allocations: 1.781 kB / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5009, allocations: 1.781 kB / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5009, allocations: 0 / 0.9569 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5011, allocations: 257.2 kB / 0.9572 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5011, allocations: 0 / 0.9572 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5012, allocations: 39.36 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5013, allocations: 1.375 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5013, allocations: 4 kB / 0.9572 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5013, allocations: 1.375 kB / 0.9572 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5013, allocations: 3.984 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.5017, allocations: 322.9 kB / 0.9575 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.5017, allocations: 98.36 kB / 0.9576 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.5017, allocations: 4.812 kB / 0.9576 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5019, allocations: 8.359 kB / 0.9576 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.5019, allocations: 16.67 kB / 0.9576 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.5019, allocations: 2.25 kB / 0.9576 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.502, allocations: 123.2 kB / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.502, allocations: 0 / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002301/0.5022, allocations: 43.19 kB / 0.9578 GB, free: 2.547 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.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 (15): * Single equations (assignments): 15 * 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.0005283/0.5027, allocations: 0.8447 MB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.503, allocations: 132.8 kB / 0.9588 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.503, allocations: 0 / 0.9588 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.5031, allocations: 65.44 kB / 0.9588 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.5034, allocations: 35.39 kB / 0.9589 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.5053, allocations: 2.104 MB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.5055, allocations: 0.7273 MB / 0.9616 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.743e-05/0.5056, allocations: 13.61 kB / 0.9616 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.5057, allocations: 51.61 kB / 0.9617 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5057, allocations: 4 kB / 0.9617 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3851/0.8907, allocations: 3.322 MB / 0.9649 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/8.045, allocations: 7.094 kB / 0.9649 GB, free: 13.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches