Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001259/0.001259, allocations: 76.55 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.001611/0.001611, allocations: 181.9 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.8791/0.8791, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.723/1.723, 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.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.9821 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.736e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00135/0.001377, allocations: 0.692 MB / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000793/0.00217, allocations: 0.8782 MB / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.002214, allocations: 0 / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.00225, allocations: 7.938 kB / 0.9837 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.002333, allocations: 19.84 kB / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.002522, allocations: 19.92 kB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.814e-05/0.00261, allocations: 63.78 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.002708, allocations: 11.98 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.002845, allocations: 47.84 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.002903, allocations: 11.98 kB / 0.9839 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.00292, allocations: 8 kB / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.002957, allocations: 11.98 kB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.002971, allocations: 15.92 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.002995, allocations: 23.92 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.003114, allocations: 67.83 kB / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003116, allocations: 0 / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003117, allocations: 0 / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003121, allocations: 0 / 0.984 GB, free: 280 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.0003854/0.003506, allocations: 298.1 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.003539, allocations: 15.91 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.003652, allocations: 16.88 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.003816, allocations: 133.7 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003829, allocations: 4.375 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.003839, allocations: 4.375 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.003939, allocations: 66.14 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003947, allocations: 192 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.003956, allocations: 384 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.00396, allocations: 384 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.004023, allocations: 35.91 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.004317, allocations: 232.4 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.004489, allocations: 70.53 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.004519, allocations: 16.92 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.004533, allocations: 0 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.025e-05/0.004624, allocations: 46.5 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.004624, allocations: 0 / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001768/0.004801, allocations: 77.62 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.004827, allocations: 59.34 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.00489, allocations: 121.8 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.004902, allocations: 25.7 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.004946, allocations: 100.1 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.004958, allocations: 3.953 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.004987, allocations: 17.72 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.005053, allocations: 318.8 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.005085, allocations: 15.98 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.005139, allocations: 55.36 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.00519, allocations: 36.86 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.005193, allocations: 0 / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.615e-05/0.00527, allocations: 65.58 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.005281, allocations: 11.94 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005285, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.005296, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.958e-05/0.005325, allocations: 7.984 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.00533, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.005358, allocations: 11.98 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005363, allocations: 0 / 0.9858 GB, free: 14.25 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 (shaH.hys.y,$PRE.shaH.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 5.308e-05/0.005416, allocations: 121.8 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.005428, allocations: 3.938 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.005447, allocations: 12 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005449, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.005452, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005455, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.005545, allocations: 125.2 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005546, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.005561, allocations: 4 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.005562, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.005569, allocations: 7.938 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.00557, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005571, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.262e-05/0.005663, allocations: 151.5 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.005674, allocations: 19.81 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.005686, allocations: 3.938 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.005724, allocations: 8 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.005761, allocations: 12.36 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005764, allocations: 0 / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.005798, allocations: 99.27 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005798, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001439/0.005942, allocations: 8 kB / 0.9863 GB, free: 13.63 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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 6.942e-05/0.006011, allocations: 99.77 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.006113, allocations: 39.91 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006114, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.006141, allocations: 15.92 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.006332, allocations: 15.94 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.006584, allocations: 182.4 kB / 0.9866 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.006625, allocations: 63.59 kB / 0.9867 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.006654, allocations: 16.48 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/0.006654, allocations: 0 / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of Templates: time 0.001495/0.008149, allocations: 0.8653 MB / 0.9876 GB, free: 12.28 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.4664609199389815]