Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.83/2.83, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.14 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3759, allocations: 160.7 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002433/0.3783, allocations: 1.074 MB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3797, allocations: 1.007 MB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3798, allocations: 7.875 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.3799, allocations: 19.8 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.38, allocations: 19.73 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3803, allocations: 75.84 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.3805, allocations: 172.1 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3806, allocations: 67.97 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3808, allocations: 67.72 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3809, allocations: 83.66 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.3809, allocations: 16 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.3809, allocations: 19.94 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.381, allocations: 39.84 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.381, allocations: 75.59 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3813, allocations: 183.1 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3813, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3813, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3813, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008713/0.3822, allocations: 490.6 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3822, allocations: 12.03 kB / 1.22 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.3823, allocations: 16.84 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3826, allocations: 228.6 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3826, allocations: 12.31 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.3826, allocations: 16.38 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.383, allocations: 158.8 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.383, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.383, allocations: 12 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.383, allocations: 4 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.3833, allocations: 107.9 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3844, allocations: 0.539 MB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.3848, allocations: 138.7 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.385, allocations: 80.75 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.385, allocations: 7.984 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.3853, allocations: 115.3 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.3853, allocations: 0 / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.0005531/0.3858, allocations: 231 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3859, allocations: 51.41 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.386, allocations: 161.1 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.386, allocations: 33.69 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3861, allocations: 112.6 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.3862, allocations: 67.44 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.3862, allocations: 37.7 kB / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3864, allocations: 330.8 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3866, allocations: 75.81 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3868, allocations: 91.69 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.3872, allocations: 147.8 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3872, allocations: 0 / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004748/0.3876, allocations: 209.5 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3876, allocations: 13.91 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3877, allocations: 4 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3877, allocations: 0 / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.3879, allocations: 35.97 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3879, allocations: 4.031 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.388, allocations: 27.88 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.388, allocations: 4 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001196/0.3881, allocations: 137.7 kB / 1.223 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3882, allocations: 15.91 kB / 1.223 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.3886, allocations: 196.9 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3886, allocations: 7.984 kB / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3886, allocations: 0 / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3886, allocations: 3.938 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.3895, allocations: 0.5851 MB / 1.223 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3895, allocations: 4 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3896, allocations: 31.97 kB / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3896, allocations: 7.938 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3897, allocations: 8 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3897, allocations: 4 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3897, allocations: 3.938 kB / 1.223 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.3903, allocations: 383.3 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.3903, allocations: 100.9 kB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3904, allocations: 4 kB / 1.224 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3905, allocations: 16.03 kB / 1.224 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.3906, allocations: 27.91 kB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3906, allocations: 4 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.3907, allocations: 121 kB / 1.224 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 4 kB / 1.224 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002738/0.391, allocations: 39.89 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001859/0.3911, allocations: 118.3 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.3916, allocations: 147.8 kB / 1.224 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3916, allocations: 0 / 1.224 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3918, allocations: 87.89 kB / 1.224 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3921, allocations: 24 kB / 1.224 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.3928, allocations: 403.9 kB / 1.225 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3931, allocations: 0.7243 MB / 1.226 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.414e-05/0.3932, allocations: 21.5 kB / 1.226 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.3933, allocations: 19.44 kB / 1.226 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3933, allocations: 0 / 1.226 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of Templates: time 0.005177/0.3985, allocations: 1.828 MB / 1.227 GB, free: 3.352 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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: 8.985737259499729]