Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0008144/0.0008144, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008159/0.0008159, 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.9189/0.9189, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.728/1.728, allocations: 377.8 MB / 0.6228 GB, free: 8.672 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.9823 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.416e-05, allocations: 2.281 kB / 0.9823 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002191/0.002225, allocations: 0.6911 MB / 0.9829 GB, free: 200 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003428, allocations: 0.8392 MB / 0.9838 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.003474, allocations: 4 kB / 0.9838 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.003512, allocations: 3.938 kB / 0.9838 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.003587, allocations: 3.938 kB / 0.9838 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.003719, allocations: 15.98 kB / 0.9838 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.00383, allocations: 43.84 kB / 0.9838 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.003957, allocations: 11.98 kB / 0.9838 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.004068, allocations: 27.91 kB / 0.9839 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.004121, allocations: 11.98 kB / 0.9839 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.004154, allocations: 8 kB / 0.9839 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.004168, allocations: 4 kB / 0.9839 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.004189, allocations: 7.938 kB / 0.9839 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.004223, allocations: 15.98 kB / 0.9839 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.004339, allocations: 43.86 kB / 0.9839 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.004343, allocations: 0 / 0.9839 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004344, allocations: 0 / 0.9839 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.004349, allocations: 0 / 0.9839 GB, free: 15.14 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005228/0.004872, allocations: 290.1 kB / 0.9842 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.004919, allocations: 16.03 kB / 0.9842 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.004958, allocations: 0.9375 kB / 0.9842 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.005085, allocations: 117.7 kB / 0.9844 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.0051, allocations: 384 / 0.9844 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.005112, allocations: 4.375 kB / 0.9844 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.005362, allocations: 70.2 kB / 0.9844 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.005373, allocations: 192 / 0.9844 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.005385, allocations: 384 / 0.9844 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.005392, allocations: 4.375 kB / 0.9844 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.00563, allocations: 63.88 kB / 0.9845 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.006046, allocations: 212.6 kB / 0.9847 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.00623, allocations: 50.48 kB / 0.9847 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.006357, allocations: 48.91 kB / 0.9848 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.006382, allocations: 0 / 0.9848 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.006408, allocations: 34.5 kB / 0.9848 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.006409, allocations: 0 / 0.9848 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0005295/0.006939, allocations: 137.5 kB / 0.985 GB, free: 14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.006976, allocations: 51.41 kB / 0.985 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.007059, allocations: 109.8 kB / 0.9851 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.007075, allocations: 25.7 kB / 0.9851 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.00712, allocations: 88.14 kB / 0.9852 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.007144, allocations: 11.84 kB / 0.9852 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.007187, allocations: 17.72 kB / 0.9852 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.007286, allocations: 314.8 kB / 0.9855 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.007411, allocations: 31.97 kB / 0.9856 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.007522, allocations: 35.95 kB / 0.9856 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.007739, allocations: 65.08 kB / 0.9857 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007741, allocations: 0 / 0.9857 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002848/0.008026, allocations: 105.5 kB / 0.9858 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.008045, allocations: 15.88 kB / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00805, allocations: 0 / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008065, allocations: 0 / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.008187, allocations: 15.98 kB / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008193, allocations: 0 / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.008329, allocations: 15.98 kB / 0.9858 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.008339, allocations: 4 kB / 0.9858 GB, free: 13.05 MB / 0.9011 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 (3): * Single equations (assignments): 3 * 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 7.692e-05/0.008416, allocations: 113.8 kB / 0.9859 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.008444, allocations: 3.953 kB / 0.9859 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.008762, allocations: 113.5 kB / 0.986 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.008766, allocations: 0 / 0.986 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.008771, allocations: 0 / 0.986 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008774, allocations: 0 / 0.986 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.008914, allocations: 117.2 kB / 0.9862 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.008917, allocations: 0 / 0.9862 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.009001, allocations: 15.98 kB / 0.9862 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.009004, allocations: 4 kB / 0.9862 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.009014, allocations: 4 kB / 0.9862 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.00902, allocations: 7.922 kB / 0.9862 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009021, allocations: 0 / 0.9862 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.009321, allocations: 187.5 kB / 0.9864 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.009332, allocations: 3.953 kB / 0.9864 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.009348, allocations: 4 kB / 0.9864 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.009444, allocations: 19.92 kB / 0.9864 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.009497, allocations: 11.98 kB / 0.9864 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.009503, allocations: 0 / 0.9864 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.009552, allocations: 95.56 kB / 0.9865 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009553, allocations: 3.938 kB / 0.9865 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002663/0.009819, allocations: 4 kB / 0.9865 GB, free: 12.29 MB / 0.9011 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 (3): * Single equations (assignments): 3 * 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.0001326/0.009952, allocations: 99.72 kB / 0.9866 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.01024, allocations: 67.92 kB / 0.9867 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01024, allocations: 0 / 0.9867 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.01037, allocations: 35.95 kB / 0.9867 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.01075, allocations: 4 kB / 0.9867 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.01122, allocations: 158.4 kB / 0.9868 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.01127, allocations: 71.28 kB / 0.9869 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.0113, allocations: 16.48 kB / 0.9869 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of SimCode: time 1.142e-06/0.0113, allocations: 0 / 0.9869 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of Templates: time 0.001579/0.01288, allocations: 0.7637 MB / 0.9877 GB, free: 11.03 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.515047962777317]