Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_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.00594/0.00594, allocations: 101 kB / 15.73 MB, free: 6.055 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.00165/0.00165, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.411/1.411, 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 12.0.0-master/package.mo): time 2.817/2.817, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.27 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004232/0.2876, allocations: 3.036 MB / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.289, allocations: 0.896 MB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.2891, allocations: 11.94 kB / 1.245 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.2896, allocations: 123 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.2898, allocations: 142.9 kB / 1.246 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.29, allocations: 91.88 kB / 1.246 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.2904, allocations: 457.7 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.2907, allocations: 161.8 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.2909, allocations: 163.3 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.2911, allocations: 175.2 kB / 1.247 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.2912, allocations: 32 kB / 1.247 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.2913, allocations: 32 kB / 1.247 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.2914, allocations: 75.69 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2916, allocations: 199.1 kB / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.292, allocations: 398.3 kB / 1.247 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.292, allocations: 0 / 1.247 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.292, allocations: 7.938 kB / 1.247 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.292, allocations: 0 / 1.247 GB, free: 3.305 MB / 0.9669 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.0009767/0.293, allocations: 0.6469 MB / 1.248 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.293, allocations: 12.03 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.2931, allocations: 74.72 kB / 1.248 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.2932, allocations: 44.66 kB / 1.248 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.2937, allocations: 312.6 kB / 1.248 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.2937, allocations: 29.38 kB / 1.248 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.2938, allocations: 36.38 kB / 1.248 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.2943, allocations: 366.9 kB / 1.249 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2944, allocations: 3.953 kB / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2944, allocations: 16 kB / 1.249 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2944, allocations: 12 kB / 1.249 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.2948, allocations: 204.6 kB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2964, allocations: 1.478 MB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.2968, allocations: 294.6 kB / 1.251 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.297, allocations: 107.4 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2971, allocations: 15.86 kB / 1.251 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2971, allocations: 42.56 kB / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.2971, allocations: 0 / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0005456/0.2977, allocations: 277.3 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.2977, allocations: 132.5 kB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.298, allocations: 234.6 kB / 1.251 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.298, allocations: 33.7 kB / 1.251 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2982, allocations: 196.5 kB / 1.252 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.2983, allocations: 122.9 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2984, allocations: 70.02 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2985, allocations: 342.8 kB / 1.252 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2987, allocations: 68.72 kB / 1.252 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.2989, allocations: 153.7 kB / 1.252 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.2992, allocations: 240.4 kB / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2992, allocations: 0 / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004546/0.2997, allocations: 305.1 kB / 1.253 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2997, allocations: 11.98 kB / 1.253 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2997, allocations: 0 / 1.253 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2997, allocations: 4 kB / 1.253 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.3001, allocations: 87.91 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3001, allocations: 4.156 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3002, allocations: 31.78 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3003, allocations: 16.75 kB / 1.253 GB, free: 12.95 MB / 0.9825 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 0.0001593/0.3004, allocations: 153.7 kB / 1.253 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3005, allocations: 31.75 kB / 1.253 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.3006, allocations: 33.72 kB / 1.253 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3006, allocations: 7.984 kB / 1.253 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3006, allocations: 0 / 1.253 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3007, allocations: 4 kB / 1.253 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.3012, allocations: 345.4 kB / 1.254 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3012, allocations: 7.938 kB / 1.254 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.3016, allocations: 79.91 kB / 1.254 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3016, allocations: 4 kB / 1.254 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3017, allocations: 8 kB / 1.254 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3017, allocations: 0 / 1.254 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3017, allocations: 4 kB / 1.254 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.3023, allocations: 0.6266 MB / 1.254 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3024, allocations: 124.8 kB / 1.254 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3025, allocations: 8 kB / 1.254 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.3027, allocations: 8 kB / 1.254 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3028, allocations: 19.97 kB / 1.254 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3028, allocations: 11.94 kB / 1.255 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001657/0.3029, allocations: 170 kB / 1.255 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3029, allocations: 4 kB / 1.255 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004729/0.3034, allocations: 91.89 kB / 1.255 GB, free: 11.12 MB / 0.9825 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.0009547/0.3044, allocations: 1.179 MB / 1.256 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.3047, allocations: 205.2 kB / 1.256 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3048, allocations: 384 / 1.256 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3049, allocations: 95.84 kB / 1.256 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.3055, allocations: 59.64 kB / 1.256 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.3098, allocations: 3.577 MB / 1.26 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3102, allocations: 0.7873 MB / 1.261 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.3103, allocations: 38.95 kB / 1.261 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3105, allocations: 107.3 kB / 1.261 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3105, allocations: 0 / 1.261 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3391, allocations: 5.754 MB / 1.266 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.41, allocations: 8.516 kB / 1.266 GB, free: 15.34 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches