Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.00193/0.00193, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.002101/0.002101, allocations: 157.3 kB / 23.54 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.913/2.913, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.567e-06/3.567e-06, allocations: 0 / 0.7864 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.381e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002047/0.002081, allocations: 0.6669 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.00374, allocations: 0.8477 MB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.003773, allocations: 1 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.003795, allocations: 0 / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.003867, allocations: 12.41 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.004037, allocations: 7.984 kB / 0.7879 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.004115, allocations: 28.77 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.004199, allocations: 0 / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.004274, allocations: 16.72 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.004309, allocations: 8 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.004326, allocations: 4.75 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.00437, allocations: 7.984 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.004386, allocations: 4.5 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.004408, allocations: 4.906 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.004519, allocations: 35.88 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.004522, allocations: 0 / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004523, allocations: 4.438 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004527, allocations: 1.25 kB / 0.7881 GB, free: 11.06 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.0005076/0.005035, allocations: 352.4 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.005076, allocations: 12.03 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.005185, allocations: 6.391 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.005327, allocations: 108.6 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.00534, allocations: 384 / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.005347, allocations: 384 / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.005505, allocations: 51.45 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005513, allocations: 192 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.005522, allocations: 384 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005526, allocations: 1 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.005645, allocations: 29.27 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.006034, allocations: 259.7 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.006152, allocations: 39.09 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.006232, allocations: 20.55 kB / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.006253, allocations: 0 / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.006294, allocations: 42.36 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.006295, allocations: 4 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002999/0.006595, allocations: 71.25 kB / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.006643, allocations: 55.41 kB / 0.7891 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.006785, allocations: 157.9 kB / 0.7892 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.006804, allocations: 28.8 kB / 0.7892 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.006896, allocations: 134.9 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.006915, allocations: 7.938 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.006956, allocations: 19.38 kB / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002842/0.00724, allocations: 496.1 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.007299, allocations: 11.98 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.007348, allocations: 8 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.007463, allocations: 32.39 kB / 0.7899 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007465, allocations: 1.656 kB / 0.7899 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001528/0.007618, allocations: 57.61 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.007637, allocations: 8 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.007646, allocations: 5.688 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.007661, allocations: 0 / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.00774, allocations: 4 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007745, allocations: 0 / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.007783, allocations: 5.25 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007788, allocations: 0 / 0.79 GB, free: 8.879 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.0001389/0.007927, allocations: 160.6 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.007955, allocations: 5.594 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.008172, allocations: 64.86 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008175, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.008179, allocations: 1.688 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008181, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.008342, allocations: 116.6 kB / 0.7903 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008343, allocations: 0 / 0.7903 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.008395, allocations: 7.984 kB / 0.7903 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.008397, allocations: 4.844 kB / 0.7903 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008404, allocations: 0 / 0.7903 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.008408, allocations: 4.469 kB / 0.7904 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.00841, allocations: 0.5938 kB / 0.7904 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.008657, allocations: 204.5 kB / 0.7905 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.008666, allocations: 13.14 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.008677, allocations: 0 / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.008743, allocations: 7.938 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.008781, allocations: 0.5312 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.008784, allocations: 0 / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.008865, allocations: 132.5 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008865, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002268/0.009092, allocations: 4 kB / 0.7907 GB, free: 8.102 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.0001349/0.009227, allocations: 92.41 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.009401, allocations: 36.67 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.009403, allocations: 0 / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.009468, allocations: 20.48 kB / 0.7908 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.009717, allocations: 8.938 kB / 0.7908 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.01007, allocations: 121.6 kB / 0.791 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.01014, allocations: 68.69 kB / 0.791 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.01016, allocations: 0 / 0.791 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.0102, allocations: 9.375 kB / 0.791 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.0102, allocations: 0 / 0.791 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.003183/0.01338, allocations: 491.8 kB / 0.7915 GB, free: 7.234 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.018842387013137]