Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.88 kB / 1.061 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9675/0.9695, allocations: 160.7 MB / 1.218 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002154/0.9717, allocations: 0.7101 MB / 1.219 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.9729, allocations: 0.8587 MB / 1.22 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.9729, allocations: 0.75 kB / 1.22 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.973, allocations: 4.688 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.9731, allocations: 9.375 kB / 1.22 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.9733, allocations: 23.08 kB / 1.22 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.9734, allocations: 66.67 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.9735, allocations: 14.14 kB / 1.22 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.9736, allocations: 32.27 kB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.9737, allocations: 27.86 kB / 1.22 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.9737, allocations: 4.75 kB / 1.22 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.9738, allocations: 5.5 kB / 1.22 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.9738, allocations: 13.91 kB / 1.22 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.9738, allocations: 22.25 kB / 1.22 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.974, allocations: 72.12 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.974, allocations: 0 / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.983e-06/0.974, allocations: 1.719 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.974, allocations: 0 / 1.22 GB, free: 2.602 MB / 0.92 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.0006495/0.9746, allocations: 372.6 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9747, allocations: 10 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.9747, allocations: 7.797 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.975, allocations: 196.7 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.975, allocations: 5.312 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.9751, allocations: 2.625 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.9752, allocations: 55.95 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.9752, allocations: 1.688 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.9752, allocations: 7.938 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9752, allocations: 5.094 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.9753, allocations: 27.2 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.9758, allocations: 297.7 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.9761, allocations: 73.58 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.9762, allocations: 12.14 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.9762, allocations: 5.062 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.9762, allocations: 34.5 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.9763, allocations: 1.156 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002731/0.9765, allocations: 73.73 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.9766, allocations: 56.84 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.9767, allocations: 121.3 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.9767, allocations: 26.95 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.9768, allocations: 98.81 kB / 1.221 GB, free: 1.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.9768, allocations: 13.16 kB / 1.221 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.9769, allocations: 17.47 kB / 1.221 GB, free: 1.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.977, allocations: 320.9 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.9771, allocations: 19.41 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.9771, allocations: 32.39 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.9772, allocations: 30.75 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9772, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001485/0.9774, allocations: 71.02 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9774, allocations: 5.656 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9774, allocations: 0 / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9774, allocations: 5.156 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.9774, allocations: 8.078 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9775, allocations: 0 / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.9775, allocations: 10.44 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.9775, allocations: 1.094 kB / 1.222 GB, free: 0.6484 MB / 0.92 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.0001084/0.9776, allocations: 126.7 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.9777, allocations: 2.312 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.9777, allocations: 5.031 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9777, allocations: 9.062 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.9777, allocations: 3.938 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9777, allocations: 1.219 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.9779, allocations: 180 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9779, allocations: 0 / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.978, allocations: 4.031 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.978, allocations: 0 / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.978, allocations: 1.156 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.978, allocations: 0 / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.978, allocations: 1.25 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.9782, allocations: 162.7 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.9782, allocations: 86.2 kB / 1.222 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.9783, allocations: 1.062 kB / 1.222 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.9783, allocations: 4.062 kB / 1.222 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.9784, allocations: 15.23 kB / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9784, allocations: 1.156 kB / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.9785, allocations: 92.83 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9785, allocations: 4.938 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002214/0.9787, allocations: 7.469 kB / 1.223 GB, free: 15.93 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.0001307/0.9788, allocations: 98.81 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.979, allocations: 34.94 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.979, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.9791, allocations: 18.08 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.9794, allocations: 14.78 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.9798, allocations: 172 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.9802, allocations: 0.6881 MB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.9802, allocations: 7.422 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.9803, allocations: 13.91 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9803, allocations: 1.25 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.003561/0.9838, allocations: 0.7125 MB / 1.224 GB, free: 14.57 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.844514953903854]