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.004953/0.004953, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001146/0.001146, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.147/2.147, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.08 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6777, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002863/0.6806, allocations: 2.241 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.6815, allocations: 0.714 MB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.6816, allocations: 4.125 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.682, allocations: 94 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.6821, allocations: 66.56 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.871e-05/0.6822, allocations: 36.84 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.6824, allocations: 216 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.6826, allocations: 80.41 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.6827, allocations: 82.47 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.6829, allocations: 91.06 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.6829, allocations: 18.91 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/0.6829, allocations: 14.38 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.683, allocations: 35.83 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.6831, allocations: 88.12 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.6833, allocations: 195.8 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6833, allocations: 0 / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6833, allocations: 0.7812 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6833, allocations: 0 / 1.091 GB, free: 2.688 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006454/0.684, allocations: 496.6 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.684, allocations: 10.48 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.6841, allocations: 47.36 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.6841, allocations: 27.33 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.6844, allocations: 256.2 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6845, allocations: 14.47 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.6845, allocations: 14.5 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.6848, allocations: 152.5 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6848, allocations: 0.75 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.6849, allocations: 5.75 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6849, allocations: 4.859 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.6852, allocations: 115.9 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.6858, allocations: 0.4987 MB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.6862, allocations: 158.6 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.6864, allocations: 86.56 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.6864, allocations: 2.234 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.6864, allocations: 32.28 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.6865, allocations: 0 / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005042/0.687, allocations: 196.6 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.687, allocations: 61.55 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.6871, allocations: 152.8 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.6871, allocations: 26.48 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.6872, allocations: 131.3 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.6872, allocations: 54.84 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.6873, allocations: 29.59 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.6873, allocations: 331.2 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.6875, allocations: 48.5 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.6876, allocations: 46.53 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.6879, allocations: 117.9 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6879, allocations: 0 / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003384/0.6883, allocations: 163.8 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6883, allocations: 6.531 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6883, allocations: 4 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.6883, allocations: 1.25 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.6885, allocations: 40.64 kB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6885, allocations: 4.781 kB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.6886, allocations: 8.547 kB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6887, allocations: 2.906 kB / 1.095 GB, free: 300 kB / 0.8575 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 7.272e-05/0.6887, allocations: 133.4 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.6888, allocations: 14.56 kB / 1.095 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.6888, allocations: 22.64 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6888, allocations: 5.812 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6888, allocations: 0.7969 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6888, allocations: 1.297 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.6892, allocations: 260.2 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6892, allocations: 0.9375 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.6894, allocations: 41.11 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6894, allocations: 1.094 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.6894, allocations: 5.406 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6894, allocations: 1.359 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6894, allocations: 4.75 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.69, allocations: 311.7 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.6901, allocations: 99 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.6901, allocations: 5.844 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.6903, allocations: 6.375 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.6903, allocations: 16.05 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6903, allocations: 6.875 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.463e-05/0.6904, allocations: 119.2 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6904, allocations: 0 / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000287/0.6907, allocations: 43.86 kB / 1.096 GB, free: 15.47 MB / 0.8731 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.0008128/0.6915, allocations: 0.858 MB / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.6919, allocations: 119.9 kB / 1.097 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6919, allocations: 0 / 1.097 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6921, allocations: 65.72 kB / 1.097 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.6924, allocations: 27.53 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.6951, allocations: 2.115 MB / 1.099 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.6954, allocations: 0.7274 MB / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.946e-05/0.6955, allocations: 14.16 kB / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.6956, allocations: 55.7 kB / 1.1 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.6956, allocations: 1 kB / 1.1 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.7153, allocations: 3.379 MB / 1.103 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/8.134, allocations: 23.11 kB / 1.103 GB, free: 11.84 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_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_HeatCapacityVariableShadeDT.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.csv","/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