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.0008552/0.0008552, 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.0008349/0.0008349, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8971/0.8971, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.786/1.786, allocations: 377.8 MB / 0.6228 GB, free: 8.645 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.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.066e-06/3.066e-06, allocations: 0 / 0.9821 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.92e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001385/0.001414, allocations: 0.6974 MB / 0.9828 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.002295, allocations: 0.8782 MB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.002349, allocations: 4 kB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.002382, allocations: 3.938 kB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.002464, allocations: 7.875 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.002671, allocations: 23.95 kB / 0.9837 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.395e-05/0.002755, allocations: 63.8 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.002859, allocations: 15.92 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.00301, allocations: 51.83 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.00307, allocations: 15.98 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.003087, allocations: 4 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.003127, allocations: 8 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.003143, allocations: 15.91 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.003175, allocations: 19.94 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.003319, allocations: 71.81 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003322, allocations: 0 / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/0.003323, allocations: 4 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003327, allocations: 0 / 0.984 GB, free: 232 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003996/0.003727, allocations: 302 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.003761, allocations: 12.03 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.003883, allocations: 16.83 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.004058, allocations: 137.7 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.004071, allocations: 384 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004081, allocations: 4.375 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.004198, allocations: 62.23 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.004207, allocations: 192 / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.004217, allocations: 4.375 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.004222, allocations: 384 / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.87e-05/0.004291, allocations: 35.91 kB / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.004602, allocations: 232.4 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.00479, allocations: 74.58 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.004823, allocations: 12.86 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.004839, allocations: 4 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004857, allocations: 34.5 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004858, allocations: 0 / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.005048, allocations: 81.64 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002938/0.005342, allocations: 51.41 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.005411, allocations: 117.8 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.005425, allocations: 29.7 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.005472, allocations: 96.08 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.005488, allocations: 11.95 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.005518, allocations: 13.72 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.005596, allocations: 318.8 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.005628, allocations: 12 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.00568, allocations: 63.58 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.005736, allocations: 28.78 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.005738, allocations: 3.938 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.75e-05/0.005825, allocations: 73.56 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005838, allocations: 8.031 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005842, allocations: 0 / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.005856, allocations: 0 / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.005894, allocations: 7.984 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.005899, allocations: 4 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.005928, allocations: 4 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005933, allocations: 0 / 0.9858 GB, free: 14.22 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: 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 6.19e-05/0.005995, allocations: 117.8 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006009, allocations: 7.938 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.006029, allocations: 15.94 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006031, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.006035, allocations: 4 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006038, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006143, allocations: 125.2 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.006144, allocations: 3.938 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.006164, allocations: 4 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006165, allocations: 0 / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006172, allocations: 3.938 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006173, allocations: 4 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006174, allocations: 0 / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.006279, allocations: 155.5 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.00629, allocations: 7.891 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.006305, allocations: 11.92 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.006342, allocations: 4 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.006381, allocations: 7.984 kB / 0.9862 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006384, allocations: 4 kB / 0.9862 GB, free: 13.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.006421, allocations: 95.2 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006421, allocations: 0 / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001554/0.006577, allocations: 8 kB / 0.9863 GB, free: 13.59 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: 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 8.026e-05/0.006657, allocations: 99.78 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.006766, allocations: 31.97 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006768, allocations: 7.938 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.006796, allocations: 15.98 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.007043, allocations: 11.42 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.00732, allocations: 178.3 kB / 0.9866 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.007367, allocations: 71.59 kB / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.007397, allocations: 16.86 kB / 0.9867 GB, free: 13.11 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.007398, allocations: 0 / 0.9867 GB, free: 13.11 MB / 0.948 GB Notification: Performance of Templates: time 0.001621/0.009019, allocations: 0.877 MB / 0.9876 GB, free: 12.23 MB / 0.948 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: 6.443263911642134]