Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.001002/0.001003, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008362/0.008362, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.538/2.538, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 8.438 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2734, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.002278/0.2757, allocations: 1.935 MB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2768, allocations: 0.6935 MB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.277, allocations: 4 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.2773, allocations: 99.45 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.2775, allocations: 51.61 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.333e-05/0.2776, allocations: 31.97 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2778, allocations: 203 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.278, allocations: 66.3 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2781, allocations: 67.66 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2782, allocations: 71.62 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2782, allocations: 8 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.367e-05/0.2782, allocations: 8 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2783, allocations: 27.84 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.2784, allocations: 109.2 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2785, allocations: 175.3 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2785, allocations: 3.938 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2785, allocations: 0 / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2786, allocations: 0 / 1.062 GB, free: 1.332 MB / 0.8106 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.0006107/0.2792, allocations: 466.8 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2792, allocations: 12.03 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.2793, allocations: 46.73 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.2793, allocations: 28.66 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.2796, allocations: 245.2 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2797, allocations: 8.375 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.2797, allocations: 16.38 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.28, allocations: 161.5 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.28, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.28, allocations: 8 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.28, allocations: 0 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.2803, allocations: 127.9 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.281, allocations: 0.5002 MB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.2814, allocations: 162.8 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2816, allocations: 88.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.2816, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2816, allocations: 30.56 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2817, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0005024/0.2822, allocations: 213.4 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2822, allocations: 55.41 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2823, allocations: 159.3 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2824, allocations: 25.7 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.2824, allocations: 128.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.2825, allocations: 51.25 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.2825, allocations: 25.72 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.2826, allocations: 330.7 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2828, allocations: 51.97 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.2829, allocations: 51.97 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.2832, allocations: 130.1 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2832, allocations: 3.938 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003347/0.2835, allocations: 175.2 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2835, allocations: 8 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2835, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2836, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2837, allocations: 35.98 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2837, allocations: 7.922 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2838, allocations: 23.91 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2839, allocations: 7.938 kB / 1.065 GB, free: 13.76 MB / 0.8262 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 9.109e-05/0.284, allocations: 129.8 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.284, allocations: 15.81 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.2841, allocations: 17.53 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2841, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2841, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2841, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.2843, allocations: 265.4 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2843, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.2845, allocations: 43.91 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2846, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2846, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2846, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2846, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.2851, allocations: 333.4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.2852, allocations: 101 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2852, allocations: 7.984 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2853, allocations: 12 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.2854, allocations: 11.98 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.2854, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.44e-05/0.2855, allocations: 116.9 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2855, allocations: 0 / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002485/0.2857, allocations: 43.84 kB / 1.067 GB, free: 12.59 MB / 0.8262 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.0007438/0.2865, allocations: 0.8722 MB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.2868, allocations: 131.9 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2868, allocations: 0 / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2869, allocations: 82.52 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2873, allocations: 19.98 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.2899, allocations: 2.273 MB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2902, allocations: 0.7244 MB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.2903, allocations: 13.55 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.2904, allocations: 51.42 kB / 1.071 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.2904, allocations: 4 kB / 1.071 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.083/1.374, allocations: 3.015 MB / 1.074 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.374, allocations: 244.8 kB / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/3.113, allocations: 8 kB / 1.074 GB, free: 5.238 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches