Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001919/0.001919, allocations: 80.53 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002474/0.002474, allocations: 165.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.545/1.545, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.022/3.022, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.114e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00188/0.001911, allocations: 0.6951 MB / 0.9822 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003094, allocations: 0.8237 MB / 0.983 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.003141, allocations: 0 / 0.983 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.003171, allocations: 0 / 0.983 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.003258, allocations: 15.88 kB / 0.983 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.003406, allocations: 11.98 kB / 0.983 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003517, allocations: 55.77 kB / 0.9831 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003639, allocations: 4 kB / 0.9831 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.003744, allocations: 23.97 kB / 0.9831 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.0038, allocations: 19.92 kB / 0.9831 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.003826, allocations: 4 kB / 0.9831 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.00384, allocations: 4 kB / 0.9831 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.003859, allocations: 4 kB / 0.9831 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.003895, allocations: 19.92 kB / 0.9831 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.00401, allocations: 43.86 kB / 0.9832 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.004014, allocations: 4 kB / 0.9832 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004015, allocations: 0 / 0.9832 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004019, allocations: 0 / 0.9832 GB, free: 9.098 MB / 0.8887 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.0006244/0.004644, allocations: 294.1 kB / 0.9835 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.004688, allocations: 8.031 kB / 0.9835 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.00473, allocations: 4.938 kB / 0.9835 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004863, allocations: 113.7 kB / 0.9836 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004874, allocations: 384 / 0.9836 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.004888, allocations: 8.375 kB / 0.9836 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.005178, allocations: 74.2 kB / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.005186, allocations: 192 / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005197, allocations: 384 / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005202, allocations: 384 / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.005538, allocations: 67.81 kB / 0.9837 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.005942, allocations: 220.5 kB / 0.9839 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.00617, allocations: 50.55 kB / 0.984 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.006339, allocations: 36.91 kB / 0.984 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.006358, allocations: 4 kB / 0.984 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.006387, allocations: 30.56 kB / 0.9841 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.006389, allocations: 0 / 0.9841 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006117/0.007, allocations: 137.5 kB / 0.9842 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.007048, allocations: 51.41 kB / 0.9842 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007157, allocations: 113.8 kB / 0.9843 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.007176, allocations: 25.7 kB / 0.9844 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.007234, allocations: 84.14 kB / 0.9845 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.007266, allocations: 19.83 kB / 0.9845 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.007303, allocations: 13.72 kB / 0.9845 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.007455, allocations: 322.8 kB / 0.9848 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.00763, allocations: 27.97 kB / 0.9848 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.007783, allocations: 35.95 kB / 0.9849 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.008095, allocations: 68.73 kB / 0.9849 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/0.008112, allocations: 4 kB / 0.9849 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003629/0.008475, allocations: 97.61 kB / 0.985 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.008492, allocations: 11.88 kB / 0.985 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008496, allocations: 0 / 0.985 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.008511, allocations: 0 / 0.985 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.008656, allocations: 15.98 kB / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.008661, allocations: 4 kB / 0.985 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.008749, allocations: 11.98 kB / 0.9851 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.008757, allocations: 0 / 0.9851 GB, free: 7.004 MB / 0.8887 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 9.94e-05/0.008856, allocations: 121.8 kB / 0.9852 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.008883, allocations: 3.953 kB / 0.9852 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.009284, allocations: 109.8 kB / 0.9853 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.009286, allocations: 4.047 kB / 0.9853 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.009293, allocations: 3.984 kB / 0.9853 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.009296, allocations: 0 / 0.9853 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.00945, allocations: 113.3 kB / 0.9854 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009451, allocations: 0 / 0.9854 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.009554, allocations: 15.98 kB / 0.9854 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009556, allocations: 0 / 0.9854 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.009566, allocations: 3.938 kB / 0.9854 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.00957, allocations: 3.938 kB / 0.9854 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.009576, allocations: 7.984 kB / 0.9854 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.009989, allocations: 195.4 kB / 0.9856 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.009999, allocations: 3.953 kB / 0.9856 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01002, allocations: 4 kB / 0.9856 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01014, allocations: 15.92 kB / 0.9856 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.01018, allocations: 3.984 kB / 0.9856 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.01019, allocations: 4 kB / 0.9856 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.01024, allocations: 87.27 kB / 0.9857 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01024, allocations: 4 kB / 0.9857 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002297/0.01047, allocations: 8 kB / 0.9857 GB, free: 6.238 MB / 0.8887 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.0001764/0.01065, allocations: 95.02 kB / 0.9858 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.01102, allocations: 67.92 kB / 0.9859 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01102, allocations: 0 / 0.9859 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.01119, allocations: 43.89 kB / 0.9859 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.01154, allocations: 8 kB / 0.9859 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.01195, allocations: 120.7 kB / 0.9861 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.01201, allocations: 67.34 kB / 0.9861 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.01204, allocations: 3.984 kB / 0.9861 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.01208, allocations: 16.5 kB / 0.9861 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of SimCode: time 6.01e-07/0.01208, allocations: 7.938 kB / 0.9862 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of Templates: time 0.003268/0.01535, allocations: 0.7181 MB / 0.9869 GB, free: 5.059 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.379135601222515]