Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_10_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.001028/0.001028, allocations: 89.66 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.008102/0.008102, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004088, allocations: 11.98 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5902, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003168/0.5934, allocations: 2.69 MB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.595, allocations: 0.8862 MB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.5953, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.5958, allocations: 115.3 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.5961, allocations: 127 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.5963, allocations: 75.92 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.5969, allocations: 437.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.5971, allocations: 125.4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.5973, allocations: 135.5 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.5976, allocations: 163.1 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.5976, allocations: 16 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.5977, allocations: 16 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.5977, allocations: 59.75 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.5979, allocations: 204.7 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.5983, allocations: 374.5 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5983, allocations: 7.984 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5983, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5983, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 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.0008714/0.5992, allocations: 0.5772 MB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5992, allocations: 12.03 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.519e-05/0.5993, allocations: 74.72 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.5994, allocations: 40.47 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.5998, allocations: 300.5 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5999, allocations: 25.38 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.5999, allocations: 40.31 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.6005, allocations: 370.9 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.6005, allocations: 7.906 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.6005, allocations: 12 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6005, allocations: 8 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.6009, allocations: 212.6 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.6024, allocations: 1.478 MB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.6028, allocations: 290.5 kB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.603, allocations: 115.5 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.603, allocations: 7.938 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.603, allocations: 38.5 kB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 3.256e-06/0.603, allocations: 7.984 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0005212/0.6036, allocations: 277.1 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.6036, allocations: 136.5 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.6039, allocations: 246.5 kB / 1.033 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.6039, allocations: 29.7 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.604, allocations: 180.2 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.6041, allocations: 122.2 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.6042, allocations: 33.7 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6043, allocations: 342.8 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.6044, allocations: 68.72 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.6046, allocations: 153.7 kB / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.6049, allocations: 244.4 kB / 1.034 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6049, allocations: 4 kB / 1.034 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004213/0.6054, allocations: 297.1 kB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6054, allocations: 8 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6054, allocations: 0.75 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6054, allocations: 7.938 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6057, allocations: 91.84 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6058, allocations: 7.984 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.606, allocations: 43.75 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.606, allocations: 8 kB / 1.034 GB, free: 4.188 MB / 0.7794 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.0001326/0.6061, allocations: 153.7 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.6062, allocations: 31.66 kB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.6063, allocations: 33.7 kB / 1.034 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.6063, allocations: 4 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6063, allocations: 4 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6063, allocations: 3.984 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.6069, allocations: 349.3 kB / 1.035 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6069, allocations: 11.94 kB / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.6072, allocations: 75.91 kB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6073, allocations: 0 / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.6073, allocations: 8 kB / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6073, allocations: 4 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6073, allocations: 0 / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.6078, allocations: 0.6302 MB / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.608, allocations: 120.7 kB / 1.035 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.608, allocations: 12 kB / 1.035 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.6083, allocations: 8 kB / 1.035 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.6083, allocations: 16.06 kB / 1.036 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.6083, allocations: 15.94 kB / 1.036 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001472/0.6085, allocations: 174 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6085, allocations: 0 / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004669/0.6089, allocations: 99.69 kB / 1.036 GB, free: 2.359 MB / 0.7794 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.0008044/0.6098, allocations: 1.184 MB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.6101, allocations: 205 kB / 1.037 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6101, allocations: 0 / 1.037 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.6102, allocations: 95.84 kB / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.6109, allocations: 52.12 kB / 1.037 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.615, allocations: 3.884 MB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.6154, allocations: 0.7873 MB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.6155, allocations: 34.95 kB / 1.042 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6156, allocations: 103.4 kB / 1.042 GB, free: 11.83 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/0.6156, allocations: 0 / 1.042 GB, free: 11.83 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.6322, allocations: 5.298 MB / 1.047 GB, free: 6.746 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.6324, allocations: 243 kB / 1.047 GB, free: 6.484 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.617, allocations: 0.9375 kB / 1.047 GB, free: 6.484 MB / 0.795 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches