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.001489/0.001489, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00156/0.00156, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.744/2.744, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.215e-06/2.215e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.549e-05, allocations: 4.078 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001863/0.001899, allocations: 0.685 MB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003192, allocations: 0.8399 MB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.003227, allocations: 4 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.003258, allocations: 5.344 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.003323, allocations: 3.938 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.003491, allocations: 11.94 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.003564, allocations: 24.98 kB / 0.788 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.003649, allocations: 7.984 kB / 0.788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.18e-05/0.003721, allocations: 12 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.003754, allocations: 5.547 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.003773, allocations: 4 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.003815, allocations: 7.984 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.003832, allocations: 7.938 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.003855, allocations: 6.312 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.00396, allocations: 27.89 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003962, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003962, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003966, allocations: 0 / 0.788 GB, free: 11.16 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.0005513/0.004518, allocations: 260.3 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.004582, allocations: 8.031 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.00472, allocations: 8.891 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004889, allocations: 113.8 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.004908, allocations: 384 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.00492, allocations: 384 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.005138, allocations: 55.66 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.005147, allocations: 192 / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.005162, allocations: 4.359 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005167, allocations: 1.469 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.005358, allocations: 36.59 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.005769, allocations: 184.6 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005916, allocations: 43.56 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.00601, allocations: 27.5 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.006034, allocations: 3.984 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.006077, allocations: 30.56 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.006078, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003847/0.006463, allocations: 90.25 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.006514, allocations: 51.94 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.006632, allocations: 111.4 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.006652, allocations: 25.7 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.006713, allocations: 84.12 kB / 0.7891 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.006735, allocations: 7.891 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.006773, allocations: 17.72 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.006953, allocations: 315.5 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.007047, allocations: 12.89 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.007125, allocations: 21.14 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.007276, allocations: 38.2 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.007277, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.007476, allocations: 63.41 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.007495, allocations: 8 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.007502, allocations: 3.938 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.00752, allocations: 5.219 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.007602, allocations: 7.984 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007607, allocations: 4 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.007657, allocations: 8.828 kB / 0.7896 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.007662, allocations: 0 / 0.7896 GB, free: 9.379 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 9.263e-05/0.007755, allocations: 111 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.007779, allocations: 4 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.008032, allocations: 74.28 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008034, allocations: 0 / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008038, allocations: 1.438 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.008043, allocations: 7.938 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.008188, allocations: 101.3 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008189, allocations: 0 / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.008249, allocations: 14.89 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.00825, allocations: 0 / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.008257, allocations: 3.938 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.00826, allocations: 7.938 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008261, allocations: 0 / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.008531, allocations: 164 kB / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.008537, allocations: 1.938 kB / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.008549, allocations: 0 / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.008628, allocations: 11.92 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.008671, allocations: 4 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.008674, allocations: 0 / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.008732, allocations: 84.12 kB / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008732, allocations: 0 / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002243/0.008956, allocations: 7.984 kB / 0.7902 GB, free: 8.738 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.0001336/0.00909, allocations: 92.75 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.009304, allocations: 39.41 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.009305, allocations: 4 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.009515, allocations: 19.97 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.009835, allocations: 6.188 kB / 0.7904 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.01017, allocations: 112.6 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.01024, allocations: 57.45 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.01027, allocations: 3.984 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.01031, allocations: 12.5 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01031, allocations: 0 / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.003017/0.01333, allocations: 492.4 kB / 0.791 GB, free: 7.891 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] 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.780854242970236]