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.001677/0.001677, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001946/0.001946, allocations: 159.7 kB / 23.01 MB, free: 4.602 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.521/1.521, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.824/2.824, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002368/0.002368, allocations: 67.91 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.9862, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002155/0.9883, allocations: 1.007 MB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.9895, allocations: 1.021 MB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.9896, allocations: 7.094 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.9898, allocations: 23.17 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.9898, allocations: 22.64 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.9901, allocations: 89.12 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.9903, allocations: 175.2 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.9904, allocations: 53.14 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.9905, allocations: 75.17 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.9906, allocations: 65.89 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.9907, allocations: 20.44 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.9907, allocations: 20.22 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.9907, allocations: 43.2 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.9908, allocations: 57.98 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.991, allocations: 193.3 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.991, allocations: 0 / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.991, allocations: 0 / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.991, allocations: 0 / 1.157 GB, free: 31.5 MB / 1.076 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.000732/0.9918, allocations: 429.3 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.9918, allocations: 11.66 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.9919, allocations: 25.27 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.9921, allocations: 162.8 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.9922, allocations: 12.28 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.9922, allocations: 15.38 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.9925, allocations: 188.7 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.9925, allocations: 0 / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.9925, allocations: 10.84 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.9925, allocations: 3.062 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.9928, allocations: 109 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009407/0.9938, allocations: 432.8 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.9941, allocations: 135.8 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.9943, allocations: 76.84 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.9943, allocations: 0 / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.9945, allocations: 153.4 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.9945, allocations: 0 / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0004929/0.995, allocations: 229.9 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.995, allocations: 54.03 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.9951, allocations: 144.4 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.9951, allocations: 32.55 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.9952, allocations: 121.4 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.9952, allocations: 65.95 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.9953, allocations: 45.83 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.9953, allocations: 326.7 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.9955, allocations: 63.03 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.9957, allocations: 91.73 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.996, allocations: 153.8 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.996, allocations: 0 / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004312/0.9964, allocations: 208.1 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9965, allocations: 9.469 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9965, allocations: 0 / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9965, allocations: 2.781 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.9967, allocations: 40.69 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9967, allocations: 0 / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.9968, allocations: 29.42 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.9968, allocations: 2.938 kB / 1.16 GB, free: 29.25 MB / 1.076 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 8.284e-05/0.9969, allocations: 135.1 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.9969, allocations: 17.56 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.9973, allocations: 183.2 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9973, allocations: 10.09 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9973, allocations: 0 / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9973, allocations: 0 / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.998, allocations: 0.51 MB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.998, allocations: 0 / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.9981, allocations: 36.97 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.9981, allocations: 2.969 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.9982, allocations: 10.97 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.9982, allocations: 6.328 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9982, allocations: 2.875 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.9987, allocations: 382.2 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.9987, allocations: 27.25 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.9987, allocations: 6.562 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.9989, allocations: 15.75 kB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.9989, allocations: 21.98 kB / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.9989, allocations: 12.06 kB / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.999, allocations: 108.3 kB / 1.161 GB, free: 28.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.999, allocations: 4 kB / 1.161 GB, free: 28.24 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002781/0.9993, allocations: 31.39 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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 9.687e-05/0.9994, allocations: 113.8 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.9998, allocations: 151 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9998, allocations: 0 / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.9999, allocations: 89.92 kB / 1.162 GB, free: 28.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/1, allocations: 27.94 kB / 1.162 GB, free: 28.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/1.001, allocations: 376.2 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/1.001, allocations: 120.3 kB / 1.162 GB, free: 27.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.259e-05/1.001, allocations: 14.3 kB / 1.162 GB, free: 27.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/1.001, allocations: 20.31 kB / 1.162 GB, free: 27.66 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/1.001, allocations: 0 / 1.162 GB, free: 27.66 MB / 1.076 GB Notification: Performance of Templates: time 0.004782/1.006, allocations: 1.741 MB / 1.164 GB, free: 27.45 MB / 1.076 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 -s ida -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: 9.185540443053469]