Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001878/0.001878, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002646/0.002646, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.934/2.934, allocations: 476.8 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [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.002309/0.002309, allocations: 66.05 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3782, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004321/0.3825, allocations: 2.508 MB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.3835, allocations: 0.5431 MB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.3836, allocations: 4 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.3841, allocations: 123.5 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.3842, allocations: 99.22 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.3843, allocations: 43.94 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.3846, allocations: 250.7 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3848, allocations: 71.61 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.385, allocations: 87.72 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.3851, allocations: 99.44 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.3852, allocations: 20 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.93e-05/0.3852, allocations: 20 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3853, allocations: 79.69 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3855, allocations: 155 kB / 1.289 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.3859, allocations: 342.4 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3859, allocations: 3.938 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3859, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3859, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008987/0.3868, allocations: 0.5856 MB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3868, allocations: 8.031 kB / 1.29 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.3869, allocations: 48.66 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.3873, allocations: 252.7 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3873, allocations: 8.375 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.3873, allocations: 16.38 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.3876, allocations: 143.4 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3876, allocations: 8.172 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3876, allocations: 7.938 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3877, allocations: 4 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.3879, allocations: 95.89 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009174/0.3888, allocations: 0.5497 MB / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.3891, allocations: 82.61 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3892, allocations: 48.83 kB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3892, allocations: 0 / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3892, allocations: 34.56 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.3892, allocations: 0 / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003882/0.3896, allocations: 145.4 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3897, allocations: 55.39 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.3901, allocations: 389.9 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3901, allocations: 29.7 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3903, allocations: 220.2 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3903, allocations: 39.62 kB / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3904, allocations: 25.72 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3906, allocations: 346.7 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.3907, allocations: 35.98 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.3907, allocations: 51.42 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.3909, allocations: 95.67 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3909, allocations: 0 / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002882/0.3912, allocations: 145.3 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3912, allocations: 12.09 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3912, allocations: 4 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3913, allocations: 0 / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3914, allocations: 27.92 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3914, allocations: 4 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.3915, allocations: 15.94 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.3915, allocations: 0 / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001767/0.3917, allocations: 165.8 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.3917, allocations: 39.77 kB / 1.293 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.3918, allocations: 43.2 kB / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3918, allocations: 0 / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3918, allocations: 0 / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3918, allocations: 0 / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.3921, allocations: 284.5 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3921, allocations: 3.938 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3923, allocations: 16 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3923, allocations: 0 / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3923, allocations: 7.984 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3923, allocations: 4 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3923, allocations: 4 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.3927, allocations: 251.3 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.3927, allocations: 47.72 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3928, allocations: 0 / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.3929, allocations: 4 kB / 1.293 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3929, allocations: 7.969 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3929, allocations: 12.06 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003072/0.3932, allocations: 275.1 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3932, allocations: 0 / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000291/0.3935, allocations: 51.83 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.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 (9): * Single equations (assignments): 9 * 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.0001358/0.3937, allocations: 99.19 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.3939, allocations: 67.91 kB / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3939, allocations: 0 / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.394, allocations: 40.11 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3944, allocations: 28.14 kB / 1.294 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3957, allocations: 0.6942 MB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3962, allocations: 0.7981 MB / 1.295 GB, free: 24 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3963, allocations: 15.44 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3963, allocations: 0 / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of Templates: time 0.005561/0.4018, allocations: 3.003 MB / 1.298 GB, free: 13.02 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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: 11.900502623000648]