Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002624/0.002624, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.003155/0.003155, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.436/3.436, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.883e-05, allocations: 3.156 kB / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002055/0.002084, allocations: 0.7122 MB / 0.8781 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003438, allocations: 0.8805 MB / 0.879 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.003485, allocations: 4.875 kB / 0.879 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.003512, allocations: 3.938 kB / 0.879 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.797e-05/0.00361, allocations: 10.44 kB / 0.879 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.00381, allocations: 31.89 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003939, allocations: 60.83 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.00404, allocations: 15.92 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.004225, allocations: 44.48 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.004305, allocations: 19.92 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.004327, allocations: 4.844 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.004373, allocations: 8 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.004397, allocations: 17.09 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.00444, allocations: 15.94 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.004624, allocations: 79.69 kB / 0.8793 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004626, allocations: 0.9062 kB / 0.8793 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004627, allocations: 0 / 0.8793 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004632, allocations: 1.094 kB / 0.8793 GB, free: 4.824 MB / 0.8386 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.0006379/0.00527, allocations: 400 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005306, allocations: 8.031 kB / 0.8796 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.005479, allocations: 17.58 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.005737, allocations: 134.3 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005752, allocations: 384 / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.005779, allocations: 8.375 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.005925, allocations: 54.23 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.005934, allocations: 3.812 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.005944, allocations: 4.312 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005952, allocations: 4.375 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.006058, allocations: 27.92 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.00655, allocations: 295.7 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.006858, allocations: 70.97 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.006917, allocations: 19.75 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.006936, allocations: 0.9062 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.006973, allocations: 41.41 kB / 0.8803 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.006974, allocations: 4.906 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002814/0.007256, allocations: 65.64 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.007306, allocations: 56.22 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.007479, allocations: 190.2 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.007509, allocations: 33.3 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.007613, allocations: 138.9 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.007634, allocations: 15.83 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.007696, allocations: 23.38 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002812/0.007977, allocations: 0.4923 MB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.008033, allocations: 12 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.00813, allocations: 61.06 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.008218, allocations: 31.95 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00822, allocations: 0 / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001627/0.008383, allocations: 70.17 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.008403, allocations: 8.594 kB / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.008408, allocations: 0.7188 kB / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.008422, allocations: 0 / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.008471, allocations: 4.938 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.008477, allocations: 0 / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.008531, allocations: 11.92 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008537, allocations: 1.531 kB / 0.8815 GB, free: 2.344 MB / 0.8386 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 0.0001491/0.008687, allocations: 160.6 kB / 0.8816 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.008722, allocations: 11.89 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.008751, allocations: 12.03 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.008756, allocations: 4 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008759, allocations: 0 / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008762, allocations: 0 / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.008956, allocations: 136.6 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.00896, allocations: 4 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.009006, allocations: 4 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009008, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.009018, allocations: 3.938 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009019, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.00902, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.009271, allocations: 215.8 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.009289, allocations: 7.953 kB / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.009309, allocations: 3.938 kB / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.009383, allocations: 7.984 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.009443, allocations: 11.98 kB / 0.882 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.009448, allocations: 0 / 0.882 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001238/0.009572, allocations: 147.2 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009572, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002258/0.009798, allocations: 12 kB / 0.8822 GB, free: 1.551 MB / 0.8386 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 0.0001333/0.009931, allocations: 95.25 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.0101, allocations: 43.61 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01011, allocations: 0 / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.01017, allocations: 23.67 kB / 0.8823 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.01042, allocations: 6.5 kB / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.01086, allocations: 158.1 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.01095, allocations: 75.19 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.01099, allocations: 4.281 kB / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.01104, allocations: 20.44 kB / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01104, allocations: 0 / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of Templates: time 0.004235/0.01528, allocations: 0.755 MB / 0.8833 GB, free: 328 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.67871023202315]