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.008354/0.008354, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001225/0.001225, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.316/1.316, 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.184/2.184, allocations: 390.3 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 79.81 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6896, 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.002992/0.6927, allocations: 2.225 MB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.6936, allocations: 0.7155 MB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.6937, allocations: 4.188 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.6941, allocations: 94.33 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.6942, allocations: 61.47 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.069e-05/0.6943, allocations: 50.09 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.6945, allocations: 210.5 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.6947, allocations: 70.75 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.6948, allocations: 84.52 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.6949, allocations: 86.59 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.695, allocations: 15.91 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.695, allocations: 14.34 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.695, allocations: 39 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.6951, allocations: 92.69 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.6954, allocations: 187.2 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6954, allocations: 0 / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6954, allocations: 1.094 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6954, allocations: 0 / 1.091 GB, free: 2.707 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.0006249/0.696, allocations: 496.5 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6961, allocations: 10.16 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.6961, allocations: 51.16 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.6962, allocations: 20.16 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.6965, allocations: 268 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6965, allocations: 10.19 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.6965, allocations: 13.97 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.6968, allocations: 148.9 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6969, allocations: 4.625 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.6969, allocations: 10.03 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.6969, allocations: 3.844 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.6972, allocations: 116.8 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.6978, allocations: 0.4985 MB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.6982, allocations: 167.7 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.6984, allocations: 72.53 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.6984, allocations: 2.469 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.6985, allocations: 36.08 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.6985, allocations: 0.8125 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004992/0.699, allocations: 194.9 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.699, allocations: 53.56 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.6991, allocations: 153.5 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.6991, allocations: 34.55 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.6992, allocations: 123.6 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6992, allocations: 57.25 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.6993, allocations: 34.09 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.6993, allocations: 330.3 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.6995, allocations: 48.92 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.6996, allocations: 47.19 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.6999, allocations: 109.9 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6999, allocations: 0 / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003257/0.7002, allocations: 164.2 kB / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.7002, allocations: 5.906 kB / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7003, allocations: 0 / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7003, allocations: 0.8438 kB / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.7005, allocations: 41.55 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.7005, allocations: 5.578 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.7006, allocations: 18.91 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.7006, allocations: 3.156 kB / 1.095 GB, free: 312 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.078e-05/0.7007, allocations: 132.9 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.7007, allocations: 15.33 kB / 1.095 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.7008, allocations: 22.58 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.7008, allocations: 1.656 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7008, allocations: 0.7188 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7008, allocations: 0.7969 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.7011, allocations: 245.2 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7011, allocations: 0.7969 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.7013, allocations: 44.73 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7013, allocations: 6.109 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.7013, allocations: 1.531 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7013, allocations: 1.031 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7013, allocations: 0.6094 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.7019, allocations: 326.3 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.702, allocations: 102.4 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.702, allocations: 5.891 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.7022, allocations: 14.45 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.7022, allocations: 8.203 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.7022, allocations: 7.156 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.7023, allocations: 114.9 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7023, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002792/0.7026, allocations: 43.59 kB / 1.096 GB, free: 15.49 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.0008195/0.7034, allocations: 0.8557 MB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.7038, allocations: 122.5 kB / 1.097 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7038, allocations: 0.75 kB / 1.097 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.704, allocations: 69.53 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.7043, allocations: 29.16 kB / 1.097 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.707, allocations: 2.103 MB / 1.099 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.7073, allocations: 0.7222 MB / 1.099 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.268e-05/0.7074, allocations: 18.98 kB / 1.099 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.7076, allocations: 52.31 kB / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7076, allocations: 0 / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.7318, allocations: 3.39 MB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/8.185, allocations: 14.36 kB / 1.103 GB, free: 11.87 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