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.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.001788/0.001788, allocations: 110.4 kB / 17.08 MB, free: 6.012 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.002045/0.002045, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.468/1.468, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.067/3.067, allocations: 489.2 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002035/0.002035, allocations: 67.89 kB / 1.103 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.209, allocations: 163.8 MB / 1.263 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001994/1.211, allocations: 0.7027 MB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/1.212, allocations: 0.8393 MB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/1.212, allocations: 1.469 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/1.212, allocations: 4.453 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/1.212, allocations: 21.34 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/1.212, allocations: 16.94 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/1.212, allocations: 60.55 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/1.212, allocations: 19.69 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/1.212, allocations: 29.09 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/1.212, allocations: 24.69 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/1.213, allocations: 9.031 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/1.213, allocations: 5.531 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/1.213, allocations: 12.22 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/1.213, allocations: 36.8 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/1.213, allocations: 69.14 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.213, allocations: 0 / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.213, allocations: 0.8438 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.511e-06/1.213, allocations: 0 / 1.264 GB, free: 6.695 MB / 0.9981 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.0004856/1.213, allocations: 366.4 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.213, allocations: 14 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/1.213, allocations: 8.594 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/1.214, allocations: 195 kB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.214, allocations: 6.906 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/1.214, allocations: 3.484 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/1.214, allocations: 55.41 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.214, allocations: 192 / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.214, allocations: 4.812 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.214, allocations: 0.9062 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/1.214, allocations: 37.64 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/1.214, allocations: 296.3 kB / 1.265 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/1.215, allocations: 75.86 kB / 1.265 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/1.215, allocations: 22.48 kB / 1.265 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/1.215, allocations: 0.6562 kB / 1.265 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/1.215, allocations: 32.67 kB / 1.265 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.215, allocations: 0 / 1.265 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002629/1.215, allocations: 66.8 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/1.215, allocations: 52.89 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/1.215, allocations: 128.1 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/1.215, allocations: 29.7 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/1.215, allocations: 93.59 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/1.215, allocations: 10.27 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/1.215, allocations: 18.92 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.369e-05/1.215, allocations: 326.9 kB / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/1.215, allocations: 14.03 kB / 1.266 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/1.216, allocations: 31.73 kB / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/1.216, allocations: 29.52 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.216, allocations: 1.609 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/1.216, allocations: 65.45 kB / 1.266 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.216, allocations: 5.375 kB / 1.266 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.216, allocations: 0.7969 kB / 1.266 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.216, allocations: 0.75 kB / 1.266 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/1.216, allocations: 9.844 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.216, allocations: 1.734 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/1.216, allocations: 11.97 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/1.216, allocations: 1.406 kB / 1.266 GB, free: 4.867 MB / 0.9981 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.205e-05/1.216, allocations: 121.4 kB / 1.266 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/1.216, allocations: 7.469 kB / 1.266 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/1.216, allocations: 9.719 kB / 1.266 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.216, allocations: 1.297 kB / 1.266 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.216, allocations: 0.6562 kB / 1.266 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.216, allocations: 0.5625 kB / 1.266 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/1.216, allocations: 181.7 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.216, allocations: 1.422 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/1.216, allocations: 5.672 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.216, allocations: 0.9375 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.216, allocations: 1.656 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.216, allocations: 4 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.216, allocations: 0.75 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/1.217, allocations: 163.1 kB / 1.267 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/1.217, allocations: 87.77 kB / 1.267 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/1.217, allocations: 5.312 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/1.217, allocations: 5.219 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/1.217, allocations: 11.47 kB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.217, allocations: 1.312 kB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.011e-05/1.217, allocations: 92.7 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.217, allocations: 0.8438 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002186/1.217, allocations: 11.03 kB / 1.267 GB, free: 4.172 MB / 0.9981 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.0001098/1.217, allocations: 99.56 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000182/1.217, allocations: 33.94 kB / 1.267 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.217, allocations: 0.8438 kB / 1.267 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/1.217, allocations: 19.94 kB / 1.267 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/1.218, allocations: 12.89 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/1.218, allocations: 196.2 kB / 1.267 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/1.218, allocations: 0.6838 MB / 1.268 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/1.218, allocations: 12.69 kB / 1.268 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.218, allocations: 0 / 1.268 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of Templates: time 0.003047/1.221, allocations: 0.8432 MB / 1.269 GB, free: 3.113 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.641035564942285]