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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008906/0.0008906, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005435/0.005435, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 462.6 MB / 0.7364 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 10.92 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2829, allocations: 159.6 MB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003168/0.2861, allocations: 2.7 MB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2877, allocations: 0.8765 MB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.288, allocations: 11.94 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.2885, allocations: 111.3 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.2889, allocations: 123.1 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.2891, allocations: 83.86 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.2896, allocations: 429.8 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.2898, allocations: 129.4 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.29, allocations: 143.4 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2902, allocations: 159.1 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.2902, allocations: 19.98 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.2903, allocations: 16.05 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.2904, allocations: 59.66 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.2905, allocations: 200.7 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.2908, allocations: 378.5 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2909, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2909, allocations: 3.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2909, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 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.0008237/0.2917, allocations: 0.5734 MB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2918, allocations: 8.031 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.242e-05/0.2918, allocations: 74.72 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.2919, allocations: 44.47 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.2923, allocations: 300.4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.2924, allocations: 29.38 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.2924, allocations: 36.38 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2929, allocations: 374.8 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.293, allocations: 3.938 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.293, allocations: 12 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.293, allocations: 12 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.2933, allocations: 212.5 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.2948, allocations: 1.478 MB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.2952, allocations: 290.5 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2953, allocations: 115.5 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.2953, allocations: 11.88 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2954, allocations: 42.5 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.2954, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0005034/0.2959, allocations: 277.3 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.296, allocations: 140.5 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.2962, allocations: 234.6 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2962, allocations: 33.7 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2964, allocations: 184.2 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.2964, allocations: 118.3 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.2965, allocations: 37.7 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2966, allocations: 342.8 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2968, allocations: 72.72 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.2969, allocations: 149.8 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2972, allocations: 236.4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2973, allocations: 3.938 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004261/0.2977, allocations: 309 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2977, allocations: 4 kB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2977, allocations: 4 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2977, allocations: 4 kB / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2981, allocations: 83.91 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2981, allocations: 11.92 kB / 1.07 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.2983, allocations: 39.84 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2983, allocations: 12 kB / 1.07 GB, free: 9.09 MB / 0.8262 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.0001438/0.2984, allocations: 149.8 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.2985, allocations: 27.66 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.2986, allocations: 33.7 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2986, allocations: 4 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2986, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2986, allocations: 3.984 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.2992, allocations: 353.2 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2992, allocations: 7.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.2995, allocations: 79.89 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2995, allocations: 4 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.2996, allocations: 8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2996, allocations: 3.938 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2996, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3002, allocations: 0.6226 MB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.3003, allocations: 116.7 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.3003, allocations: 12.56 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3006, allocations: 15.84 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3006, allocations: 19.97 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3006, allocations: 15.94 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001405/0.3008, allocations: 174 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3008, allocations: 4 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000454/0.3012, allocations: 87.84 kB / 1.071 GB, free: 7.273 MB / 0.8262 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.0008389/0.3021, allocations: 1.179 MB / 1.073 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.3024, allocations: 197.4 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3024, allocations: 3.938 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3025, allocations: 95.91 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.3032, allocations: 44.8 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.3073, allocations: 3.884 MB / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3077, allocations: 0.7872 MB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.3078, allocations: 35.33 kB / 1.078 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3079, allocations: 107.4 kB / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3079, allocations: 0 / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/1.478, allocations: 5.296 MB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.478, allocations: 244 kB / 1.083 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/3.288, allocations: 0 / 1.083 GB, free: 11.44 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 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.mat","/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