Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001811/0.001811, allocations: 85.48 kB / 19.44 MB, free: 340 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.001929/0.001929, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.384/3.384, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.938 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.102e-05, allocations: 9.406 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002028/0.002059, allocations: 0.6977 MB / 0.8781 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.00339, allocations: 0.8842 MB / 0.879 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.003436, allocations: 0 / 0.879 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.003462, allocations: 5.734 kB / 0.879 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.00357, allocations: 17.27 kB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.003764, allocations: 26.45 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.003877, allocations: 55.78 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003983, allocations: 23.92 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.004154, allocations: 35.91 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.004226, allocations: 27.84 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.00425, allocations: 4 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.577e-05/0.004296, allocations: 14.05 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.004317, allocations: 12 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.004352, allocations: 15.92 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.004513, allocations: 75.77 kB / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004516, allocations: 0 / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004516, allocations: 0 / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004521, allocations: 0.7188 kB / 0.8793 GB, free: 4.82 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.0005921/0.005113, allocations: 405.7 kB / 0.8796 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.005149, allocations: 8.031 kB / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.005306, allocations: 8.938 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.00556, allocations: 136.5 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.005579, allocations: 4.875 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.005597, allocations: 9.438 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005747, allocations: 54.23 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.005756, allocations: 192 / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.005781, allocations: 9.953 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005788, allocations: 384 / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.005892, allocations: 31.91 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.006386, allocations: 299.7 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.006668, allocations: 67.12 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.006722, allocations: 19.73 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.006752, allocations: 4 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.006787, allocations: 37.33 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006788, allocations: 0 / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002716/0.007059, allocations: 73.56 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.007109, allocations: 55.41 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.007272, allocations: 193.9 kB / 0.8806 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.007298, allocations: 29.69 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.007392, allocations: 138.9 kB / 0.8808 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.007412, allocations: 11.91 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.007465, allocations: 27.36 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002723/0.007737, allocations: 0.4884 MB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.00779, allocations: 15.98 kB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.007874, allocations: 53.08 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.007957, allocations: 31.67 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007959, allocations: 0 / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001393/0.008098, allocations: 73.59 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.008113, allocations: 4 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008118, allocations: 0 / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.00813, allocations: 0 / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.008178, allocations: 7.984 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008183, allocations: 0 / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.008232, allocations: 11.94 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.008238, allocations: 0 / 0.8815 GB, free: 2.328 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 (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.0001222/0.008361, allocations: 160.6 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.008394, allocations: 19.88 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.00854, allocations: 12 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.008542, allocations: 0 / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008545, allocations: 0 / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.008547, allocations: 0 / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.008734, allocations: 132.6 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.008738, allocations: 4 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.008786, allocations: 7.922 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008787, allocations: 4.328 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.008797, allocations: 3.938 kB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008798, allocations: 0 / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008799, allocations: 4 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.009021, allocations: 211.9 kB / 0.882 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.009033, allocations: 3.953 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.009054, allocations: 11.88 kB / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.009118, allocations: 0 / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.009167, allocations: 11.98 kB / 0.882 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.009171, allocations: 0 / 0.882 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.122e-05/0.009263, allocations: 139.6 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.009263, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000209/0.009472, allocations: 8 kB / 0.8822 GB, free: 1.543 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 (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.0001355/0.009607, allocations: 111.2 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.009766, allocations: 35.67 kB / 0.8823 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.00977, allocations: 4 kB / 0.8823 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.009827, allocations: 19.69 kB / 0.8823 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.01008, allocations: 10.81 kB / 0.8823 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.01045, allocations: 158.1 kB / 0.8825 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.01054, allocations: 75.2 kB / 0.8826 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.01058, allocations: 7.984 kB / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.01063, allocations: 16.5 kB / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.01063, allocations: 0 / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of Templates: time 0.003627/0.01426, allocations: 0.7583 MB / 0.8833 GB, free: 308 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.394866855931468]