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.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.002351/0.002351, allocations: 88.16 kB / 19.44 MB, free: 192 kB / 13.93 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.00291/0.00291, allocations: 165.3 kB / 22.76 MB, free: 1.523 MB / 18.57 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.444/3.444, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.864e-06/1.864e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.905e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002395/0.002424, allocations: 1.036 MB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004197, allocations: 1.035 MB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.0043, allocations: 5.031 kB / 0.8796 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.004454, allocations: 19.73 kB / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.004524, allocations: 21.39 kB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.004832, allocations: 79.72 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.005068, allocations: 180.1 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.005224, allocations: 50.98 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.005423, allocations: 111.7 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.005533, allocations: 55.86 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.005573, allocations: 16 kB / 0.8801 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.872e-05/0.005632, allocations: 16 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.005692, allocations: 47.83 kB / 0.8801 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.005766, allocations: 53.89 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.00606, allocations: 195.3 kB / 0.8804 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006063, allocations: 0 / 0.8804 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006064, allocations: 0 / 0.8804 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.006068, allocations: 0 / 0.8804 GB, free: 3.695 MB / 0.8386 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.0009101/0.006978, allocations: 0.5233 MB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.007014, allocations: 9.688 kB / 0.8809 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.007153, allocations: 32.8 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.007448, allocations: 172.9 kB / 0.8811 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.00747, allocations: 9.562 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.007509, allocations: 20.38 kB / 0.8811 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.007845, allocations: 169.2 kB / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.007855, allocations: 4.188 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.007878, allocations: 12.12 kB / 0.8813 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.007885, allocations: 4 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.008141, allocations: 99.88 kB / 0.8814 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.009203, allocations: 0.4913 MB / 0.8819 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.00958, allocations: 131.2 kB / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.009751, allocations: 75.64 kB / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.009778, allocations: 4 kB / 0.8821 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.01004, allocations: 155.2 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.01004, allocations: 0 / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0005251/0.01057, allocations: 208.1 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.01061, allocations: 51.41 kB / 0.8825 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.01081, allocations: 224 kB / 0.8827 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.01084, allocations: 29.7 kB / 0.8827 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01096, allocations: 175.2 kB / 0.8829 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.01103, allocations: 71.41 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.01113, allocations: 51.36 kB / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.01141, allocations: 0.504 MB / 0.8835 GB, free: 300 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.01158, allocations: 51.97 kB / 0.8835 GB, free: 248 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.01177, allocations: 90.39 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.01208, allocations: 141.7 kB / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.01209, allocations: 0 / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004886/0.01258, allocations: 205.5 kB / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.0126, allocations: 11.83 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.0126, allocations: 0 / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01262, allocations: 0 / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.01281, allocations: 39.91 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01282, allocations: 4 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01292, allocations: 15.89 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.01295, allocations: 12 kB / 0.884 GB, free: 15.71 MB / 0.8542 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.0001681/0.01312, allocations: 172.5 kB / 0.8842 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.01315, allocations: 31.84 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.01357, allocations: 174.7 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01357, allocations: 4 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01357, allocations: 0 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01358, allocations: 0 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/0.01451, allocations: 0.5851 MB / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01451, allocations: 0 / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.01469, allocations: 35.92 kB / 0.885 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.0147, allocations: 0 / 0.885 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.01472, allocations: 8 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.01472, allocations: 4 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.01473, allocations: 3.938 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.0154, allocations: 435.5 kB / 0.8854 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.01542, allocations: 19.91 kB / 0.8854 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.01545, allocations: 8 kB / 0.8854 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.01559, allocations: 11.92 kB / 0.8855 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.01565, allocations: 19.97 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.01567, allocations: 15.98 kB / 0.8855 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001226/0.0158, allocations: 152.5 kB / 0.8856 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0158, allocations: 0 / 0.8856 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002933/0.01609, allocations: 35.89 kB / 0.8857 GB, free: 13.89 MB / 0.8542 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 0.0001598/0.01625, allocations: 111.2 kB / 0.8858 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.01666, allocations: 157.2 kB / 0.8859 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01667, allocations: 0 / 0.8859 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.01685, allocations: 85.83 kB / 0.886 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.0172, allocations: 27.92 kB / 0.886 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.0182, allocations: 400.9 kB / 0.8864 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.01833, allocations: 112.3 kB / 0.8865 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.467e-05/0.0184, allocations: 21.52 kB / 0.8865 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.01847, allocations: 24.48 kB / 0.8866 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01847, allocations: 3.938 kB / 0.8866 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.0058/0.02427, allocations: 1.764 MB / 0.8883 GB, free: 11.15 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] 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: 8.815283583011478]