Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001909/0.001909, allocations: 79.7 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002002/0.002002, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.873/2.873, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.618e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002/0.002036, allocations: 0.6671 MB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003524, allocations: 0.8515 MB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.003561, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.003587, allocations: 9.344 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.00366, allocations: 3.984 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003852, allocations: 11.98 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.003933, allocations: 20.59 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.004026, allocations: 3.984 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.004108, allocations: 12.97 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.004145, allocations: 15.86 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.004165, allocations: 6 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.004212, allocations: 4 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.004233, allocations: 7.984 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.004257, allocations: 3.984 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.004386, allocations: 27.91 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.00439, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004391, allocations: 0.5938 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.004397, allocations: 4.844 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005387/0.004935, allocations: 352.4 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.004984, allocations: 17.14 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.005107, allocations: 4.891 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005243, allocations: 112.6 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005256, allocations: 1.438 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.005269, allocations: 4.375 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.005433, allocations: 42.25 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005442, allocations: 1.75 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005451, allocations: 4.312 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.005455, allocations: 384 / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.005577, allocations: 25.77 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.006005, allocations: 255.8 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.006132, allocations: 35.05 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.0062, allocations: 23.73 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.006223, allocations: 2.406 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.006276, allocations: 41.33 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.006277, allocations: 0 / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002985/0.006575, allocations: 73.56 kB / 0.789 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.006624, allocations: 52.03 kB / 0.7891 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.006754, allocations: 161.9 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.00678, allocations: 27.36 kB / 0.7892 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.006867, allocations: 130.9 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.006888, allocations: 7.938 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.006933, allocations: 23.38 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002791/0.007212, allocations: 497.9 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.007271, allocations: 12 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.007316, allocations: 11.92 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.007418, allocations: 32.39 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00742, allocations: 0.8125 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.007562, allocations: 55.22 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.007578, allocations: 4 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.007584, allocations: 3.938 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.007599, allocations: 0 / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.007673, allocations: 10.23 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.007681, allocations: 7.938 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.007719, allocations: 8 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.007724, allocations: 0 / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001224/0.007846, allocations: 160.5 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.007868, allocations: 0.7188 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.008065, allocations: 65.45 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008067, allocations: 0 / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.00807, allocations: 5.656 kB / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008072, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.008248, allocations: 116.6 kB / 0.7903 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008249, allocations: 0 / 0.7903 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.008292, allocations: 4.562 kB / 0.7903 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008294, allocations: 1.312 kB / 0.7903 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008301, allocations: 0 / 0.7903 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.008305, allocations: 7.938 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.008308, allocations: 3.984 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.008549, allocations: 205 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.008555, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.008567, allocations: 1.375 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.008632, allocations: 11.92 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.00867, allocations: 4 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.008673, allocations: 0.9062 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.008747, allocations: 123.2 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008747, allocations: 0 / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002035/0.008951, allocations: 4.844 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001554/0.009106, allocations: 100.5 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.009281, allocations: 32.3 kB / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009282, allocations: 0 / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.00935, allocations: 28.45 kB / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.009598, allocations: 5.594 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.009925, allocations: 121.3 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.01, allocations: 55.36 kB / 0.791 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.01003, allocations: 4.922 kB / 0.791 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.01007, allocations: 16.5 kB / 0.791 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01007, allocations: 7.344 kB / 0.791 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of Templates: time 0.003375/0.01345, allocations: 479.8 kB / 0.7915 GB, free: 7.258 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 7.918506066896953]