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 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.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.005102/0.005102, allocations: 97.73 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.001295/0.001295, allocations: 200.3 kB / 16.68 MB, free: 5.98 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.574/2.574, allocations: 472.7 MB / 0.7453 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.89 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 159.9 MB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003023/0.2612, allocations: 2.241 MB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009044/0.2621, allocations: 0.7049 MB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.2622, allocations: 4 kB / 1.228 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.2625, allocations: 99.39 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2626, allocations: 63.47 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.707e-05/0.2627, allocations: 43.95 kB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.2629, allocations: 207 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2631, allocations: 90.34 kB / 1.229 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2632, allocations: 75.72 kB / 1.229 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2633, allocations: 91.55 kB / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2633, allocations: 19.98 kB / 1.229 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.2633, allocations: 16 kB / 1.229 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.2634, allocations: 31.86 kB / 1.229 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.2635, allocations: 91.53 kB / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2637, allocations: 191.1 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2637, allocations: 0 / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2637, allocations: 0 / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2637, allocations: 0 / 1.229 GB, free: 5.684 MB / 0.9825 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.0005948/0.2643, allocations: 0.4906 MB / 1.23 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.2643, allocations: 8.031 kB / 1.23 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.2644, allocations: 54.73 kB / 1.23 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2644, allocations: 24.8 kB / 1.23 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.2647, allocations: 245.9 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2647, allocations: 8.375 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.2648, allocations: 20.38 kB / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.265, allocations: 151 kB / 1.23 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.265, allocations: 4 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2651, allocations: 4 kB / 1.23 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2651, allocations: 7.938 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2654, allocations: 119.6 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.266, allocations: 0.4962 MB / 1.231 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2663, allocations: 162.8 kB / 1.231 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2665, allocations: 76.83 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2665, allocations: 3.938 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2665, allocations: 34.56 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.2665, allocations: 0 / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0004529/0.267, allocations: 204.5 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.267, allocations: 55.41 kB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2671, allocations: 156 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2672, allocations: 25.7 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.2672, allocations: 136.3 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.2673, allocations: 51.59 kB / 1.232 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.2673, allocations: 33.7 kB / 1.232 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2674, allocations: 326.8 kB / 1.232 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2676, allocations: 47.97 kB / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2677, allocations: 43.97 kB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2679, allocations: 118.4 kB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2679, allocations: 0 / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002913/0.2682, allocations: 163.9 kB / 1.232 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.2682, allocations: 4 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2683, allocations: 4 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2683, allocations: 7.984 kB / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2684, allocations: 35.98 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2685, allocations: 4 kB / 1.232 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.2685, allocations: 19.88 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2686, allocations: 8 kB / 1.232 GB, free: 2.148 MB / 0.9825 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 8.016e-05/0.2686, allocations: 125.7 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2687, allocations: 15.91 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.2687, allocations: 21.53 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2687, allocations: 3.984 kB / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2687, allocations: 0 / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2688, allocations: 0 / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.269, allocations: 265.4 kB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.269, allocations: 3.938 kB / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.2692, allocations: 31.98 kB / 1.233 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2692, allocations: 4 kB / 1.233 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2692, allocations: 7.938 kB / 1.233 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2692, allocations: 0 / 1.233 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2692, allocations: 0 / 1.233 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.2697, allocations: 323.2 kB / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.2698, allocations: 93.09 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2698, allocations: 4 kB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2699, allocations: 11.98 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.27, allocations: 7.984 kB / 1.233 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.27, allocations: 4 kB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.27, allocations: 119.9 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2701, allocations: 0 / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002431/0.2703, allocations: 47.89 kB / 1.233 GB, free: 0.9766 MB / 0.9825 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.0007102/0.271, allocations: 0.8594 MB / 1.234 GB, free: 96 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.2713, allocations: 127.9 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.2713, allocations: 0 / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2715, allocations: 59.91 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2717, allocations: 29.86 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.274, allocations: 2.11 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.2742, allocations: 0.728 MB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.212e-05/0.2743, allocations: 13.55 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.2743, allocations: 51.42 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.2743, allocations: 0 / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.347/1.621, allocations: 3.409 MB / 1.241 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/9.666, allocations: 6.266 kB / 1.241 GB, free: 9.664 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_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_HeatCapacityVariableShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.csv","/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