Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008131/0.0008131, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008097/0.0008097, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.9056/0.9056, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.9 MB / 0.6229 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 0.9823 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.521e-05, allocations: 2.281 kB / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001243/0.001268, allocations: 0.6756 MB / 0.9829 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.002028, allocations: 0.8354 MB / 0.9837 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.002061, allocations: 4 kB / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.002087, allocations: 3.938 kB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.002141, allocations: 3.938 kB / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002326, allocations: 11.98 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.002392, allocations: 23.92 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.002486, allocations: 4 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.002555, allocations: 15.98 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.002585, allocations: 3.984 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.002599, allocations: 7.938 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/0.002638, allocations: 8 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.002653, allocations: 11.92 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.00267, allocations: 4 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.002762, allocations: 27.89 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002764, allocations: 0 / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002765, allocations: 0 / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.002769, allocations: 0 / 0.9839 GB, free: 356 kB / 0.9323 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.0003329/0.003102, allocations: 262.3 kB / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.003135, allocations: 8.031 kB / 0.9841 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.003215, allocations: 12.83 kB / 0.9841 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.003305, allocations: 105.8 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003317, allocations: 4.375 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.003324, allocations: 4.312 kB / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.00345, allocations: 50.23 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003457, allocations: 192 / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.003467, allocations: 4.359 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.003471, allocations: 384 / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.003563, allocations: 43.83 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.003817, allocations: 196.6 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.003893, allocations: 34.56 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.003939, allocations: 24.89 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.003957, allocations: 0 / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.003977, allocations: 34.56 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.003977, allocations: 0 / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002239/0.004201, allocations: 93.52 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.004229, allocations: 51.41 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.004279, allocations: 93.86 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.004293, allocations: 25.7 kB / 0.9849 GB, free: 15.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.004327, allocations: 92.12 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.004344, allocations: 7.891 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.00437, allocations: 9.719 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.00445, allocations: 318.8 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.004491, allocations: 11.98 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.004528, allocations: 24.09 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.748e-05/0.004605, allocations: 40.77 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.004608, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.966e-05/0.004707, allocations: 69.61 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.004718, allocations: 4 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.004723, allocations: 8.031 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.004734, allocations: 0 / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.004795, allocations: 11.98 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.004799, allocations: 0 / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.004821, allocations: 4 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004825, allocations: 0 / 0.9854 GB, free: 14.55 MB / 0.948 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 5.006e-05/0.004875, allocations: 113.8 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.004888, allocations: 3.984 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.005013, allocations: 76.84 kB / 0.9856 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005015, allocations: 4 kB / 0.9856 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005019, allocations: 3.938 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005021, allocations: 0 / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.855e-05/0.00511, allocations: 105.3 kB / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005111, allocations: 3.938 kB / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.005137, allocations: 8 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005138, allocations: 0 / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.005145, allocations: 4 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.005148, allocations: 3.938 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005148, allocations: 4.031 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.005408, allocations: 159.5 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.005417, allocations: 11.94 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.005426, allocations: 4 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.005463, allocations: 7.938 kB / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.005494, allocations: 3.984 kB / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005496, allocations: 0 / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.00552, allocations: 79.28 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.00552, allocations: 4.031 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001452/0.005665, allocations: 8 kB / 0.986 GB, free: 13.9 MB / 0.948 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 7.903e-05/0.005744, allocations: 91.25 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.005867, allocations: 43.95 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005869, allocations: 0 / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.005908, allocations: 19.92 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.00612, allocations: 8.125 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.006351, allocations: 130.5 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.006393, allocations: 59.34 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.006419, allocations: 12.5 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.006419, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of Templates: time 0.001349/0.007768, allocations: 0.5634 MB / 0.9869 GB, free: 12.92 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.5894102938473225]