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.001766/0.001766, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002361/0.002361, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.238/3.238, allocations: 0.49 GB / 0.7959 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="cs",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.002004/0.002004, allocations: 62.22 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004589/0.3671, allocations: 3.07 MB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3689, allocations: 0.9423 MB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3691, allocations: 8 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.3695, allocations: 127.1 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.3698, allocations: 146.7 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.37, allocations: 91.89 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.3705, allocations: 449.8 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.3708, allocations: 114.3 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.371, allocations: 171.4 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3713, allocations: 175.2 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.3713, allocations: 28 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.3714, allocations: 32 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.3715, allocations: 79.69 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3717, allocations: 203 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.3722, allocations: 402.3 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3722, allocations: 0 / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3722, allocations: 0 / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3722, allocations: 0 / 1.333 GB, free: 11.89 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.001029/0.3732, allocations: 0.5795 MB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3733, allocations: 12.03 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.3733, allocations: 9.188 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.081e-05/0.3734, allocations: 70.66 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.3735, allocations: 48.64 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.3741, allocations: 258.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.3741, allocations: 29.38 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.3742, allocations: 32.38 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.3747, allocations: 366.6 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3748, allocations: 8 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.3748, allocations: 16 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3748, allocations: 8 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.3752, allocations: 215.9 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.377, allocations: 1.439 MB / 1.336 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.3774, allocations: 262.6 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3776, allocations: 123.3 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3776, allocations: 4 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3776, allocations: 38.56 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.3776, allocations: 0 / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.000587/0.3782, allocations: 281.2 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.3783, allocations: 136.5 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.3786, allocations: 237.9 kB / 1.337 GB, free: 7.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3786, allocations: 29.7 kB / 1.337 GB, free: 7.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3788, allocations: 188.5 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3789, allocations: 122.9 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.379, allocations: 62.08 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3791, allocations: 338.8 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3793, allocations: 68.72 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3795, allocations: 157.7 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.3798, allocations: 240.4 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3798, allocations: 0 / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004789/0.3803, allocations: 297.2 kB / 1.338 GB, free: 5.914 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3803, allocations: 8 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3803, allocations: 4.156 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3803, allocations: 4 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.3807, allocations: 99.83 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3807, allocations: 4 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3808, allocations: 31.73 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.3809, allocations: 12 kB / 1.338 GB, free: 5.754 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.0001713/0.381, allocations: 153.7 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3811, allocations: 35.69 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.3812, allocations: 45.64 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3812, allocations: 4 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.3813, allocations: 0 / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3813, allocations: 4.75 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.3818, allocations: 320.4 kB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3818, allocations: 0 / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.3822, allocations: 83.95 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3822, allocations: 0 / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3822, allocations: 15.94 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3823, allocations: 4 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3823, allocations: 0 / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.3829, allocations: 0.6188 MB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.383, allocations: 47.81 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3831, allocations: 11.94 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3833, allocations: 4 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3833, allocations: 27.95 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3833, allocations: 4 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001746/0.3835, allocations: 177.2 kB / 1.34 GB, free: 4.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3835, allocations: 0 / 1.34 GB, free: 4.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004922/0.384, allocations: 95.78 kB / 1.34 GB, free: 4.051 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.0009991/0.385, allocations: 1.189 MB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3854, allocations: 192.6 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3854, allocations: 0 / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3855, allocations: 92.28 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.3862, allocations: 57.47 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.391, allocations: 3.576 MB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.3916, allocations: 0.7871 MB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.3917, allocations: 34.94 kB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3919, allocations: 107.4 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of SimCode: time 9.72e-07/0.3919, allocations: 7.938 kB / 1.346 GB, free: 13.83 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4336, allocations: 6.087 MB / 1.352 GB, free: 7.922 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.52, allocations: 4.094 kB / 1.352 GB, free: 7.922 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.46571837196825]