Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 218.3 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.129/3.129, allocations: 0.49 GB / 0.7951 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 65.41 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3584, allocations: 176.1 MB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004701/0.3631, allocations: 2.829 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3649, allocations: 0.8838 MB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.3651, allocations: 8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.3655, allocations: 123.1 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.3658, allocations: 142.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.366, allocations: 91.88 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.3664, allocations: 449.8 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3666, allocations: 106.3 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.3668, allocations: 167.4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.3671, allocations: 183.1 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.3672, allocations: 35.94 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.3672, allocations: 32 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.3673, allocations: 79.67 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.3675, allocations: 163.3 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.3679, allocations: 402.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3679, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3679, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3679, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 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.001/0.3689, allocations: 0.5872 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.3689, allocations: 8.031 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.291e-05/0.369, allocations: 74.72 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.3691, allocations: 40.7 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.3697, allocations: 258.7 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.3697, allocations: 25.38 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.3697, allocations: 36.38 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.3703, allocations: 370.9 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.3703, allocations: 4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.3704, allocations: 12 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3704, allocations: 8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.3707, allocations: 208.6 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3724, allocations: 1.381 MB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.3728, allocations: 270.6 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.373, allocations: 111.5 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.373, allocations: 11.88 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.373, allocations: 34.56 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.373, allocations: 11.94 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0005569/0.3736, allocations: 273.3 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.3737, allocations: 132.5 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3739, allocations: 237.9 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3739, allocations: 33.7 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3741, allocations: 192.5 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/0.3742, allocations: 115 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.3743, allocations: 66.06 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3744, allocations: 338.8 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3745, allocations: 68.72 kB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3747, allocations: 153.7 kB / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.375, allocations: 240.4 kB / 1.336 GB, free: 6.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.375, allocations: 0 / 1.336 GB, free: 6.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004567/0.3755, allocations: 313.2 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3755, allocations: 8 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3755, allocations: 4.156 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3755, allocations: 4.75 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3759, allocations: 91.84 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.3759, allocations: 8 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.3761, allocations: 35.67 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3761, allocations: 12 kB / 1.337 GB, free: 5.785 MB / 1.029 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.000166/0.3762, allocations: 149.8 kB / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3764, allocations: 31.75 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.3764, allocations: 33.72 kB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3764, allocations: 11.98 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3764, allocations: 4 kB / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3765, allocations: 4 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.377, allocations: 296.4 kB / 1.337 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.377, allocations: 3.938 kB / 1.337 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.3774, allocations: 75.97 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3774, allocations: 0 / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3774, allocations: 11.98 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3774, allocations: 7.938 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3774, allocations: 0 / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.3781, allocations: 0.6188 MB / 1.338 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.3782, allocations: 47.7 kB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.3782, allocations: 12 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.3784, allocations: 4 kB / 1.338 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3785, allocations: 24 kB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3785, allocations: 11.98 kB / 1.338 GB, free: 4.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001533/0.3786, allocations: 169.2 kB / 1.338 GB, free: 4.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3786, allocations: 0 / 1.338 GB, free: 4.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000484/0.3791, allocations: 99.78 kB / 1.339 GB, free: 4.121 MB / 1.029 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.0009067/0.38, allocations: 1.188 MB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.3804, allocations: 191.8 kB / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3804, allocations: 0 / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3805, allocations: 91.84 kB / 1.34 GB, free: 2.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.3812, allocations: 49.73 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.3855, allocations: 3.587 MB / 1.343 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.3857, allocations: 185.3 kB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.3858, allocations: 30.97 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.386, allocations: 107.4 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of SimCode: time 6.52e-07/0.386, allocations: 0 / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.4231, allocations: 6.526 MB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.99, allocations: 6.062 kB / 1.35 GB, free: 8.176 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.584039116976783]