Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_9_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.001585/0.001585, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001847/0.001847, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.12/2.12, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4996, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003094/0.5028, allocations: 3.059 MB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.5037, allocations: 0.894 MB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.5038, allocations: 7.812 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.5042, allocations: 105.3 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.5044, allocations: 126 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.5045, allocations: 82 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.5048, allocations: 447.5 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.505, allocations: 152.2 kB / 0.954 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.5051, allocations: 172.3 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.5053, allocations: 181 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.5053, allocations: 31.03 kB / 0.9543 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.5054, allocations: 32.16 kB / 0.9544 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.5055, allocations: 73.52 kB / 0.9544 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.5056, allocations: 203 kB / 0.9546 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.5058, allocations: 391.4 kB / 0.955 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5058, allocations: 1.531 kB / 0.955 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5059, allocations: 0 / 0.955 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5059, allocations: 0 / 0.955 GB, free: 4.758 MB / 0.7169 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.0006817/0.5065, allocations: 0.6303 MB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5066, allocations: 9.531 kB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.5066, allocations: 78.67 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.5067, allocations: 42.19 kB / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.507, allocations: 307.7 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.507, allocations: 34.95 kB / 0.9561 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.5071, allocations: 39.84 kB / 0.9561 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.5075, allocations: 370.8 kB / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5075, allocations: 2.312 kB / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.5076, allocations: 15.59 kB / 0.9565 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.5076, allocations: 13.05 kB / 0.9565 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.5079, allocations: 206.6 kB / 0.9567 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.5089, allocations: 1.472 MB / 0.9581 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5092, allocations: 283.7 kB / 0.9584 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.5093, allocations: 114.2 kB / 0.9585 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.5093, allocations: 15.61 kB / 0.9585 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.5094, allocations: 38.19 kB / 0.9586 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.5094, allocations: 0 / 0.9586 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0004405/0.5098, allocations: 283.3 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.5098, allocations: 132.3 kB / 0.959 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.51, allocations: 242 kB / 0.9592 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.51, allocations: 34.86 kB / 0.9592 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.5101, allocations: 185.1 kB / 0.9594 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.5102, allocations: 116.2 kB / 0.9595 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.5102, allocations: 64.81 kB / 0.9596 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.5103, allocations: 338.1 kB / 0.9599 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5104, allocations: 70.56 kB / 0.96 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.5105, allocations: 152.6 kB / 0.9601 GB, free: 412 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.5108, allocations: 240.7 kB / 0.9603 GB, free: 232 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5108, allocations: 0.8438 kB / 0.9603 GB, free: 232 kB / 0.7169 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003459/0.5111, allocations: 301.1 kB / 0.9606 GB, free: 72 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5112, allocations: 12.23 kB / 0.9606 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5112, allocations: 2.281 kB / 0.9606 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5112, allocations: 7.969 kB / 0.9606 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.5115, allocations: 91.84 kB / 0.9607 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5115, allocations: 4.562 kB / 0.9607 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.5116, allocations: 40.73 kB / 0.9608 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.5117, allocations: 13.81 kB / 0.9608 GB, free: 12 kB / 0.7169 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.0001368/0.5118, allocations: 153 kB / 0.9609 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.5119, allocations: 33.31 kB / 0.961 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.512, allocations: 43.91 kB / 0.961 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.512, allocations: 4.5 kB / 0.961 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.512, allocations: 5.094 kB / 0.961 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.512, allocations: 1.031 kB / 0.961 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.5125, allocations: 350.5 kB / 0.9614 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5125, allocations: 5.062 kB / 0.9614 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.5128, allocations: 81.89 kB / 0.9614 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5128, allocations: 6.25 kB / 0.9614 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.5129, allocations: 8.125 kB / 0.9615 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5129, allocations: 2 kB / 0.9615 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5129, allocations: 5.094 kB / 0.9615 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.5134, allocations: 0.6147 MB / 0.9621 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.5135, allocations: 126.9 kB / 0.9622 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.5135, allocations: 7.875 kB / 0.9622 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5137, allocations: 17.2 kB / 0.9622 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.5138, allocations: 17.14 kB / 0.9622 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5138, allocations: 6.094 kB / 0.9622 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001319/0.5139, allocations: 175.5 kB / 0.9624 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5139, allocations: 0 / 0.9624 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004282/0.5144, allocations: 102 kB / 0.9625 GB, free: 14.68 MB / 0.7325 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.0006849/0.5151, allocations: 1.174 MB / 0.9636 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.5154, allocations: 214.8 kB / 0.9638 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5154, allocations: 1.406 kB / 0.9638 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.5155, allocations: 105.8 kB / 0.9639 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.5161, allocations: 41.97 kB / 0.964 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.5197, allocations: 3.703 MB / 0.9676 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.52, allocations: 0.7997 MB / 0.9684 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.5201, allocations: 27.97 kB / 0.9684 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5202, allocations: 108.3 kB / 0.9685 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5202, allocations: 0.875 kB / 0.9685 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.529/2.049, allocations: 5.528 MB / 0.9739 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/2.05, allocations: 234.1 kB / 0.9741 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/3.76, allocations: 1.562 kB / 0.9741 GB, free: 6.867 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches