Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001478/0.001478, allocations: 115.7 kB / 17.13 MB, free: 6.008 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.001435/0.001435, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.918/2.918, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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: 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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [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.002056/0.002056, allocations: 71.88 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8923, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001908/0.8942, allocations: 1.064 MB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.8952, allocations: 1.045 MB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.8953, allocations: 3.125 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.8954, allocations: 22.02 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.8955, allocations: 27.67 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.8957, allocations: 68.53 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.8959, allocations: 182.1 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.896, allocations: 63.09 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.8961, allocations: 75.06 kB / 1.325 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.8962, allocations: 77.06 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.8962, allocations: 16.25 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/0.8962, allocations: 22.23 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.8963, allocations: 44.45 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.8963, allocations: 72.86 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.8965, allocations: 186.6 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8965, allocations: 0 / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8965, allocations: 2.906 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.8965, allocations: 0 / 1.325 GB, free: 23.09 MB / 1.061 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.0006767/0.8972, allocations: 489.2 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.8972, allocations: 12.58 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.8973, allocations: 24.23 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.8975, allocations: 222.4 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.8975, allocations: 17.03 kB / 1.326 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.8976, allocations: 20 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.8979, allocations: 155.5 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8979, allocations: 4 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.8979, allocations: 10.72 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8979, allocations: 2.844 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.8981, allocations: 102.3 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.899, allocations: 0.533 MB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.8994, allocations: 138.5 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.8995, allocations: 82.41 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.8996, allocations: 2.906 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.8997, allocations: 120.9 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.8997, allocations: 0 / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0005091/0.9003, allocations: 228.7 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.9003, allocations: 54.5 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.9004, allocations: 164.7 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.9004, allocations: 31.86 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.9004, allocations: 122 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.9005, allocations: 65.41 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.9006, allocations: 43.61 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.9006, allocations: 329.9 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.9008, allocations: 67.72 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.901, allocations: 90.34 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.9014, allocations: 150.4 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9014, allocations: 0.6562 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004928/0.9019, allocations: 215 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.9019, allocations: 5.75 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9019, allocations: 3.938 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.902, allocations: 1.344 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.9022, allocations: 41.34 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9022, allocations: 1.156 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.9023, allocations: 27.77 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.9023, allocations: 5.344 kB / 1.328 GB, free: 20.64 MB / 1.061 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 7.85e-05/0.9024, allocations: 132.4 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.9024, allocations: 15.38 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.9028, allocations: 195 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.9028, allocations: 1.531 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9028, allocations: 1.062 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9029, allocations: 3.375 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.9036, allocations: 0.5794 MB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9036, allocations: 6.094 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.9038, allocations: 33.28 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.9038, allocations: 7 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.9038, allocations: 14.48 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.9038, allocations: 6.125 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9038, allocations: 6.156 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.9044, allocations: 381 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.9044, allocations: 106 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.9044, allocations: 3.406 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.9046, allocations: 22.33 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.9047, allocations: 23.33 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.9047, allocations: 6.531 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.9047, allocations: 123.5 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9047, allocations: 0 / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002876/0.905, allocations: 36.8 kB / 1.33 GB, free: 19.43 MB / 1.061 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.000118/0.9051, allocations: 113.4 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.9056, allocations: 152.2 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9056, allocations: 4.562 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.9058, allocations: 78.72 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.9061, allocations: 35.62 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.9068, allocations: 410.7 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.9069, allocations: 0.7258 MB / 1.331 GB, free: 18.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.907, allocations: 19.77 kB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.907, allocations: 0 / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of Templates: time 0.004432/0.9114, allocations: 1.965 MB / 1.333 GB, free: 18.04 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.560579978002352]