Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",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.001264/0.001264, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001221/0.001221, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.088/2.088, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4642, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002673/0.4669, allocations: 2.295 MB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.4677, allocations: 0.6946 MB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4678, allocations: 8.594 kB / 0.9522 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.4681, allocations: 81.05 kB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.4682, allocations: 58.27 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.33e-05/0.4683, allocations: 41.39 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.4685, allocations: 204.6 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.4686, allocations: 74.42 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.4687, allocations: 85.2 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.4689, allocations: 89.34 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.4689, allocations: 14.09 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.993e-05/0.4689, allocations: 15.97 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.469, allocations: 36.69 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.469, allocations: 96.55 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.4692, allocations: 177.1 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4692, allocations: 4 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4692, allocations: 3.938 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4692, allocations: 0 / 0.9531 GB, free: 6.09 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.0005838/0.4698, allocations: 495.1 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4699, allocations: 9.281 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.4699, allocations: 52.12 kB / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.47, allocations: 27.47 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.4702, allocations: 252.2 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4702, allocations: 14.66 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.4703, allocations: 14.47 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.4705, allocations: 149.5 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4706, allocations: 1.094 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4706, allocations: 5.062 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4706, allocations: 8.375 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.4709, allocations: 108.9 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.4714, allocations: 0.5046 MB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.4718, allocations: 161.6 kB / 0.9548 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.4719, allocations: 74.95 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.472, allocations: 5.109 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.472, allocations: 35.88 kB / 0.9549 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/0.472, allocations: 3.984 kB / 0.9549 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.000452/0.4725, allocations: 188.4 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.4725, allocations: 52.66 kB / 0.9552 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4726, allocations: 161 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.4726, allocations: 34.88 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.4727, allocations: 127.7 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.4727, allocations: 57.45 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.4728, allocations: 31.95 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.4728, allocations: 326.8 kB / 0.9559 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4729, allocations: 48.91 kB / 0.9559 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/0.473, allocations: 52.09 kB / 0.956 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4732, allocations: 112.6 kB / 0.9561 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4732, allocations: 0 / 0.9561 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002499/0.4735, allocations: 162.9 kB / 0.9562 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.4735, allocations: 7.094 kB / 0.9562 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.4735, allocations: 0 / 0.9562 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.4735, allocations: 4 kB / 0.9562 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4737, allocations: 40.08 kB / 0.9563 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4737, allocations: 3.984 kB / 0.9563 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.4738, allocations: 21.25 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4738, allocations: 7.438 kB / 0.9563 GB, free: 3.402 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.955e-05/0.4739, allocations: 128.8 kB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.4739, allocations: 14.16 kB / 0.9565 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.4739, allocations: 24.59 kB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4739, allocations: 1.531 kB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.474, allocations: 1.344 kB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.474, allocations: 0 / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4741, allocations: 253.4 kB / 0.9567 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4741, allocations: 0 / 0.9567 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4743, allocations: 44.25 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4743, allocations: 0 / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4743, allocations: 1.812 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4743, allocations: 0 / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4744, allocations: 5.781 kB / 0.9568 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4747, allocations: 316.6 kB / 0.9571 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4748, allocations: 103.3 kB / 0.9572 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4748, allocations: 5.672 kB / 0.9572 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4749, allocations: 12.59 kB / 0.9572 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.475, allocations: 8.703 kB / 0.9572 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.475, allocations: 6.594 kB / 0.9572 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.475, allocations: 113.6 kB / 0.9573 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.475, allocations: 0 / 0.9573 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002297/0.4753, allocations: 44.38 kB / 0.9574 GB, free: 2.512 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.0005196/0.4758, allocations: 0.8604 MB / 0.9582 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.4761, allocations: 126.5 kB / 0.9583 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4761, allocations: 0 / 0.9583 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4762, allocations: 69.77 kB / 0.9584 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4765, allocations: 25.02 kB / 0.9584 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4784, allocations: 2.167 MB / 0.9605 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.4786, allocations: 0.7276 MB / 0.9612 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.4787, allocations: 21.17 kB / 0.9613 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.4787, allocations: 55.64 kB / 0.9613 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.4788, allocations: 1.031 kB / 0.9613 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1936/0.6724, allocations: 3.184 MB / 0.9644 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.6726, allocations: 248 kB / 0.9647 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.891, allocations: 0 / 0.9647 GB, free: 13.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches