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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000908/0.0009077, allocations: 90.44 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.005672/0.005672, allocations: 171.5 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003009, allocations: 15.94 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5721, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.002385/0.5745, allocations: 2.693 MB / 0.9578 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.5755, allocations: 0.8763 MB / 0.9587 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.5756, allocations: 11.84 kB / 0.9587 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.576, allocations: 109.7 kB / 0.9588 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.5761, allocations: 121.4 kB / 0.9589 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.5763, allocations: 82.61 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.5766, allocations: 439.6 kB / 0.9594 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.5768, allocations: 125.7 kB / 0.9595 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.5769, allocations: 140.1 kB / 0.9596 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.5771, allocations: 164.3 kB / 0.9598 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.5771, allocations: 19.91 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.5772, allocations: 15.84 kB / 0.9598 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.5772, allocations: 54.42 kB / 0.9599 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.5774, allocations: 205.6 kB / 0.9601 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.5777, allocations: 381.2 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5777, allocations: 1.031 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5777, allocations: 0 / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.5777, allocations: 0 / 0.9604 GB, free: 3.688 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.0006685/0.5784, allocations: 0.5663 MB / 0.961 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.5784, allocations: 9.625 kB / 0.961 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.5785, allocations: 73.72 kB / 0.9611 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.5785, allocations: 42.47 kB / 0.9611 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.5789, allocations: 311.8 kB / 0.9614 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.5789, allocations: 27.34 kB / 0.9614 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.579, allocations: 39.69 kB / 0.9615 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.5794, allocations: 370.9 kB / 0.9618 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5794, allocations: 5.906 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.5795, allocations: 11.91 kB / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5795, allocations: 9.125 kB / 0.9619 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.5798, allocations: 216.4 kB / 0.9621 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.5809, allocations: 1.479 MB / 0.9635 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.5812, allocations: 287.5 kB / 0.9638 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.5813, allocations: 119.3 kB / 0.9639 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.5814, allocations: 10.59 kB / 0.9639 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.5814, allocations: 45.48 kB / 0.9639 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.5814, allocations: 0 / 0.9639 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0004514/0.5818, allocations: 273.4 kB / 0.9642 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.5819, allocations: 135.4 kB / 0.9643 GB, free: 404 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.5821, allocations: 249.2 kB / 0.9646 GB, free: 216 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5821, allocations: 31.11 kB / 0.9646 GB, free: 180 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.5822, allocations: 181 kB / 0.9648 GB, free: 12 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/0.5823, allocations: 119.8 kB / 0.9649 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.5823, allocations: 36.08 kB / 0.9649 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5824, allocations: 337.1 kB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.5825, allocations: 72.16 kB / 0.9653 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.5827, allocations: 159.7 kB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.583, allocations: 240.9 kB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.583, allocations: 1.5 kB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003907/0.5834, allocations: 295.8 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5834, allocations: 7.094 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5834, allocations: 3.578 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5835, allocations: 3.562 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.5837, allocations: 91.47 kB / 0.9661 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5838, allocations: 11.84 kB / 0.9661 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.5839, allocations: 40.41 kB / 0.9661 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.584, allocations: 10.62 kB / 0.9661 GB, free: 14.99 MB / 0.7325 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.0001236/0.5841, allocations: 155.6 kB / 0.9663 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.5842, allocations: 34.39 kB / 0.9663 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.5843, allocations: 32.22 kB / 0.9663 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5843, allocations: 7.906 kB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5843, allocations: 2.094 kB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5843, allocations: 5.328 kB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.5848, allocations: 346.4 kB / 0.9667 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5848, allocations: 5.281 kB / 0.9667 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.5851, allocations: 76.53 kB / 0.9668 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.5851, allocations: 6.062 kB / 0.9668 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5852, allocations: 8 kB / 0.9668 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5852, allocations: 6.219 kB / 0.9668 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.5852, allocations: 5.25 kB / 0.9668 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.5857, allocations: 0.6221 MB / 0.9674 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.5858, allocations: 119.1 kB / 0.9675 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.5859, allocations: 11.16 kB / 0.9675 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.5861, allocations: 13.03 kB / 0.9675 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.5861, allocations: 17.44 kB / 0.9676 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.5861, allocations: 14.97 kB / 0.9676 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001402/0.5863, allocations: 170.7 kB / 0.9677 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5863, allocations: 0 / 0.9677 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004605/0.5868, allocations: 97.59 kB / 0.9678 GB, free: 13.66 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.0008035/0.5876, allocations: 1.172 MB / 0.969 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.5879, allocations: 204.9 kB / 0.9692 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5879, allocations: 9.25 kB / 0.9692 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.588, allocations: 97.44 kB / 0.9693 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.5887, allocations: 43.97 kB / 0.9693 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.5926, allocations: 3.871 MB / 0.9731 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5929, allocations: 0.795 MB / 0.9739 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.593, allocations: 32.2 kB / 0.9739 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5931, allocations: 109.6 kB / 0.974 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.5931, allocations: 0 / 0.974 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5041/1.097, allocations: 5.293 MB / 0.9792 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/1.098, allocations: 246.5 kB / 0.9794 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.584, allocations: 1.719 kB / 0.9794 GB, free: 5.875 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