Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.001772/0.001772, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002134/0.002134, allocations: 164.8 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 9.152 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 2.97/2.97, 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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.964e-05/4.27e-05, allocations: 6.219 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001969/0.002012, allocations: 0.6935 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003299, allocations: 0.8782 MB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.003353, allocations: 4 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.003389, allocations: 3.938 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.003505, allocations: 7.875 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.003746, allocations: 23.97 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.003871, allocations: 63.78 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.003996, allocations: 15.92 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.004194, allocations: 47.83 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.004273, allocations: 23.92 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.004294, allocations: 4 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.004348, allocations: 8 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.004371, allocations: 15.92 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.004405, allocations: 19.92 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.00458, allocations: 75.75 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.004584, allocations: 4 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004585, allocations: 0 / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.004593, allocations: 4 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005429/0.005136, allocations: 298 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.005179, allocations: 12.03 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.005363, allocations: 12.89 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.005617, allocations: 133.7 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005634, allocations: 4.359 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.005648, allocations: 4.375 kB / 0.9837 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.005812, allocations: 66.17 kB / 0.9837 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.00582, allocations: 192 / 0.9837 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005831, allocations: 4.375 kB / 0.9837 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005836, allocations: 384 / 0.9837 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.005947, allocations: 35.91 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.006364, allocations: 224.6 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.006679, allocations: 78.52 kB / 0.9841 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.006733, allocations: 12.86 kB / 0.9841 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.006752, allocations: 4 kB / 0.9841 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.006779, allocations: 34.5 kB / 0.9841 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.00678, allocations: 0 / 0.9841 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002837/0.007064, allocations: 85.58 kB / 0.9842 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.007112, allocations: 51.41 kB / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.007216, allocations: 117.8 kB / 0.9843 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.007237, allocations: 29.7 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.007308, allocations: 96.16 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.007329, allocations: 15.94 kB / 0.9845 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.00737, allocations: 13.72 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.007522, allocations: 318.8 kB / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.007576, allocations: 12 kB / 0.9848 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.007665, allocations: 55.41 kB / 0.9849 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.007761, allocations: 28.84 kB / 0.9849 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.007763, allocations: 0 / 0.9849 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001568/0.00792, allocations: 81.53 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.007935, allocations: 4 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.007939, allocations: 0 / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.007953, allocations: 0 / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.008005, allocations: 11.98 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.008011, allocations: 0 / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.008071, allocations: 7.938 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.008077, allocations: 3.938 kB / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001022/0.00818, allocations: 117.8 kB / 0.9851 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.00821, allocations: 11.94 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.008242, allocations: 8.328 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.008248, allocations: 4 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.008252, allocations: 0 / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008256, allocations: 3.984 kB / 0.9851 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.008411, allocations: 117.3 kB / 0.9852 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.008412, allocations: 0 / 0.9852 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.008455, allocations: 7.984 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008457, allocations: 0 / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.008474, allocations: 7.938 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008475, allocations: 0 / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008476, allocations: 11.88 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.008672, allocations: 151.5 kB / 0.9854 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.008684, allocations: 3.953 kB / 0.9854 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.008707, allocations: 7.938 kB / 0.9854 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.008787, allocations: 7.984 kB / 0.9854 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.008841, allocations: 7.984 kB / 0.9854 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.00885, allocations: 8 kB / 0.9855 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.008927, allocations: 91.27 kB / 0.9855 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.008927, allocations: 0 / 0.9855 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002269/0.009154, allocations: 8 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * 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.0001246/0.009279, allocations: 99.78 kB / 0.9856 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.009446, allocations: 39.91 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.009448, allocations: 0 / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.009505, allocations: 15.98 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.009827, allocations: 8 kB / 0.9857 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.01021, allocations: 150.4 kB / 0.9858 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.047e-05/0.01029, allocations: 75.53 kB / 0.9859 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.01033, allocations: 3.984 kB / 0.9859 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.01036, allocations: 12.5 kB / 0.9859 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.01036, allocations: 0 / 0.9859 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of Templates: time 0.003673/0.01404, allocations: 0.7497 MB / 0.9867 GB, free: 6.309 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.552855864167213]