Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, allocations: 113.9 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.001291/0.001291, 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.566/1.566, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.27/3.27, allocations: 496.2 MB / 0.7819 GB, free: 12.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.83 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349/1.351, allocations: 173.7 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002378/1.353, allocations: 1.078 MB / 1.307 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001329/1.355, allocations: 0.9977 MB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/1.355, allocations: 6.875 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/1.355, allocations: 19.03 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/1.355, allocations: 18.23 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/1.355, allocations: 75.8 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/1.356, allocations: 175.4 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/1.356, allocations: 62.25 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/1.356, allocations: 68.73 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/1.356, allocations: 84.34 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/1.356, allocations: 21.5 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.556e-05/1.356, allocations: 18.75 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/1.356, allocations: 44.23 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/1.356, allocations: 75.89 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/1.357, allocations: 179.1 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.357, allocations: 0 / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.357, allocations: 3.938 kB / 1.308 GB, free: 31.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.357, allocations: 0 / 1.308 GB, free: 31.53 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.0007981/1.357, allocations: 489.3 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.357, allocations: 8.688 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/1.357, allocations: 23.55 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/1.358, allocations: 227.2 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/1.358, allocations: 10.06 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/1.358, allocations: 20.06 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/1.358, allocations: 155.7 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.358, allocations: 3.328 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.358, allocations: 4 kB / 1.309 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.358, allocations: 5.812 kB / 1.309 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/1.358, allocations: 101.3 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/1.359, allocations: 0.5365 MB / 1.31 GB, free: 30.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/1.36, allocations: 128.9 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/1.36, allocations: 92.03 kB / 1.31 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/1.36, allocations: 0 / 1.31 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/1.36, allocations: 129.2 kB / 1.31 GB, free: 30.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/1.36, allocations: 0 / 1.31 GB, free: 30.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0005173/1.361, allocations: 220.6 kB / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/1.361, allocations: 61.67 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.361, allocations: 154.7 kB / 1.311 GB, free: 29.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.361, allocations: 32.64 kB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/1.361, allocations: 121.2 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/1.361, allocations: 62.73 kB / 1.311 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/1.361, allocations: 42.58 kB / 1.311 GB, free: 29.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.361, allocations: 328.4 kB / 1.311 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/1.361, allocations: 68.72 kB / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/1.362, allocations: 89.81 kB / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/1.362, allocations: 143.5 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.362, allocations: 7.094 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000433/1.362, allocations: 211.2 kB / 1.312 GB, free: 29.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.362, allocations: 13.19 kB / 1.312 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.362, allocations: 4 kB / 1.312 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.362, allocations: 3.062 kB / 1.312 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/1.363, allocations: 41.09 kB / 1.312 GB, free: 29.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.363, allocations: 0 / 1.312 GB, free: 29.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/1.363, allocations: 31 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/1.363, allocations: 6.844 kB / 1.312 GB, free: 29.08 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 9.487e-05/1.363, allocations: 133.7 kB / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/1.363, allocations: 9.766 kB / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/1.363, allocations: 194.8 kB / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.363, allocations: 7.219 kB / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.363, allocations: 0 / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/1.363, allocations: 0 / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007414/1.364, allocations: 0.5915 MB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.364, allocations: 2.875 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/1.364, allocations: 33.31 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.364, allocations: 10.05 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.364, allocations: 2.875 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.364, allocations: 6.844 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.364, allocations: 3 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/1.365, allocations: 385.1 kB / 1.313 GB, free: 28.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/1.365, allocations: 98.64 kB / 1.313 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/1.365, allocations: 11.02 kB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/1.365, allocations: 15.39 kB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/1.365, allocations: 19.62 kB / 1.313 GB, free: 27.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.365, allocations: 12.88 kB / 1.313 GB, free: 27.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.198e-05/1.365, allocations: 118.9 kB / 1.313 GB, free: 27.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.365, allocations: 0 / 1.313 GB, free: 27.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002708/1.365, allocations: 41.89 kB / 1.313 GB, free: 27.88 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.0001624/1.365, allocations: 110.8 kB / 1.314 GB, free: 27.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003883/1.366, allocations: 151.3 kB / 1.314 GB, free: 27.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.366, allocations: 0 / 1.314 GB, free: 27.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/1.366, allocations: 90.12 kB / 1.314 GB, free: 27.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/1.366, allocations: 31.39 kB / 1.314 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/1.367, allocations: 399.8 kB / 1.314 GB, free: 27.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/1.367, allocations: 0.7241 MB / 1.315 GB, free: 26.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.726e-05/1.367, allocations: 17.78 kB / 1.315 GB, free: 26.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/1.367, allocations: 23.59 kB / 1.315 GB, free: 26.7 MB / 1.061 GB Notification: Performance of SimCode: time 6.32e-07/1.367, allocations: 0 / 1.315 GB, free: 26.7 MB / 1.061 GB Notification: Performance of Templates: time 0.004889/1.372, allocations: 1.836 MB / 1.317 GB, free: 26.54 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.4281126242131]