Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.0008413/0.0008413, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008108/0.0008108, allocations: 173.9 kB / 23.21 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.9355/0.9355, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.753/1.753, allocations: 377.8 MB / 0.6229 GB, free: 8.633 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9823 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.497e-05, allocations: 6.281 kB / 0.9823 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001178/0.001203, allocations: 0.6705 MB / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000788/0.001991, allocations: 0.8704 MB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.002022, allocations: 0 / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.002046, allocations: 0 / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.002101, allocations: 7.938 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.002252, allocations: 11.98 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.002318, allocations: 23.92 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.002414, allocations: 4 kB / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.002487, allocations: 11.98 kB / 0.9838 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.002522, allocations: 15.92 kB / 0.9838 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.002543, allocations: 0 / 0.9838 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.00255, allocations: 4 kB / 0.9838 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.002565, allocations: 3.984 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.002583, allocations: 4 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.571e-05/0.002659, allocations: 27.91 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002661, allocations: 4 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002662, allocations: 0 / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002665, allocations: 0 / 0.9839 GB, free: 320 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.0003299/0.002995, allocations: 258.3 kB / 0.9841 GB, free: 28 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.00303, allocations: 12.03 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.003063, allocations: 8.828 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.003164, allocations: 113.7 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.003173, allocations: 4.375 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.003181, allocations: 384 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.003308, allocations: 54.23 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.003317, allocations: 192 / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003327, allocations: 384 / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003333, allocations: 384 / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.003428, allocations: 35.91 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.003732, allocations: 192.6 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.003813, allocations: 38.5 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.003857, allocations: 20.91 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.003874, allocations: 4 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.003892, allocations: 30.56 kB / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.003894, allocations: 0 / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.004104, allocations: 85.58 kB / 0.9847 GB, free: 15.35 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.004133, allocations: 55.34 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.004188, allocations: 106 kB / 0.9849 GB, free: 15.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004199, allocations: 25.7 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.004232, allocations: 88.09 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.004252, allocations: 3.984 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.004277, allocations: 13.72 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.004352, allocations: 318.8 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.004394, allocations: 15.98 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.004426, allocations: 11.98 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.004504, allocations: 44.88 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004506, allocations: 0 / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001/0.004606, allocations: 69.56 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.004619, allocations: 6.5 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.004624, allocations: 3.938 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.004635, allocations: 0 / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.004698, allocations: 11.98 kB / 0.9854 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.004702, allocations: 4.031 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.004725, allocations: 11.98 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.00473, allocations: 0 / 0.9855 GB, free: 14.52 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.406e-05/0.004784, allocations: 113.8 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.004795, allocations: 3.938 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.004816, allocations: 7.25 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.004818, allocations: 0 / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.004823, allocations: 4.188 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.004825, allocations: 0 / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.582e-05/0.004911, allocations: 109.3 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004912, allocations: 4 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.004935, allocations: 11.92 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.004936, allocations: 0 / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.004942, allocations: 4 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.004946, allocations: 7.938 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004948, allocations: 0 / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.00508, allocations: 163.5 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005086, allocations: 3.953 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.005096, allocations: 8.031 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.005132, allocations: 7.922 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.005168, allocations: 4 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.00517, allocations: 0 / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.005198, allocations: 87.27 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005198, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000139/0.005337, allocations: 4 kB / 0.986 GB, free: 13.94 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 6.717e-05/0.005404, allocations: 91.25 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.005528, allocations: 35.97 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.005531, allocations: 8 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.005572, allocations: 23.91 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.005761, allocations: 4 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.005987, allocations: 130.5 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.00603, allocations: 59.34 kB / 0.9863 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.006055, allocations: 12.62 kB / 0.9863 GB, free: 13.52 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.006055, allocations: 0 / 0.9863 GB, free: 13.52 MB / 0.948 GB Notification: Performance of Templates: time 0.001327/0.007383, allocations: 0.5527 MB / 0.9869 GB, free: 12.97 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.5088399751111865]