Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_latest_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.001129/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 74.69 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2538, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003425/0.2573, allocations: 2.231 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2583, allocations: 0.7129 MB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2585, allocations: 4 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.2588, allocations: 95.39 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.259, allocations: 71.41 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.575e-05/0.2591, allocations: 35.95 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2593, allocations: 211 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2594, allocations: 74.45 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2595, allocations: 87.62 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2597, allocations: 87.56 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.2597, allocations: 16 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.272e-05/0.2597, allocations: 16 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.2598, allocations: 35.8 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.2599, allocations: 87.53 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.2601, allocations: 183.4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2601, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2601, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2601, allocations: 3.938 kB / 1.068 GB, free: 10.54 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006488/0.2607, allocations: 490.6 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2608, allocations: 8.031 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.2608, allocations: 50.73 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2609, allocations: 20.75 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.2612, allocations: 252.5 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2612, allocations: 8.375 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.2612, allocations: 16.38 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.2615, allocations: 153.4 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2616, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2616, allocations: 4 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2616, allocations: 8 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.2619, allocations: 115.9 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.2625, allocations: 0.496 MB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.263, allocations: 154.8 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.2632, allocations: 80.81 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2632, allocations: 11.92 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.2632, allocations: 30.56 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2632, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0004959/0.2637, allocations: 194.9 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2638, allocations: 55.41 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2639, allocations: 159.4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2639, allocations: 25.7 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.264, allocations: 128.2 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.264, allocations: 55.25 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.2641, allocations: 33.56 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.2642, allocations: 338.8 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2643, allocations: 43.97 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2644, allocations: 61.16 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.2647, allocations: 114.6 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2647, allocations: 3.938 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003135/0.265, allocations: 161.4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2651, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2651, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2651, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2653, allocations: 47.91 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2653, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.2654, allocations: 7.984 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2654, allocations: 8 kB / 1.071 GB, free: 7.016 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.183e-05/0.2655, allocations: 126.3 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.2655, allocations: 15.81 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.2656, allocations: 13.53 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2656, allocations: 8 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2656, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2656, allocations: 3.984 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.2658, allocations: 257.4 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2659, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.2661, allocations: 43.91 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2661, allocations: 0 / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2661, allocations: 4 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2661, allocations: 4 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2661, allocations: 0 / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.2666, allocations: 321.4 kB / 1.071 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.2667, allocations: 93.05 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.2668, allocations: 7.938 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2669, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.2669, allocations: 11.98 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2669, allocations: 8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.898e-05/0.267, allocations: 124.9 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.267, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002657/0.2673, allocations: 43.84 kB / 1.072 GB, free: 5.859 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.0007892/0.2681, allocations: 0.8579 MB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.2684, allocations: 127.9 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2684, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2686, allocations: 66.02 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.269, allocations: 39.3 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.2714, allocations: 2.094 MB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2716, allocations: 0.7241 MB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.2717, allocations: 17.53 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.2718, allocations: 55.42 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2718, allocations: 0 / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.2914, allocations: 3.328 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.581, allocations: 448 / 1.079 GB, free: 14.61 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches