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.001573/0.001573, allocations: 115 kB / 17.08 MB, free: 5.988 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.00179/0.00179, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.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.686/2.686, allocations: 437.1 MB / 0.7177 GB, free: 4.5 MB / 0.5606 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.001936/0.001936, allocations: 56.14 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3081, allocations: 151.6 MB / 1.176 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001901/0.3101, allocations: 0.7154 MB / 1.176 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3112, allocations: 0.8507 MB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.3112, allocations: 0 / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.3113, allocations: 7.938 kB / 1.177 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3114, allocations: 7.875 kB / 1.177 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.3116, allocations: 23.97 kB / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3117, allocations: 67.77 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3118, allocations: 12 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.3119, allocations: 27.86 kB / 1.177 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.312, allocations: 31.91 kB / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3121, allocations: 7.984 kB / 1.178 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.3121, allocations: 8 kB / 1.178 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3121, allocations: 7.938 kB / 1.178 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.3122, allocations: 27.86 kB / 1.178 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3123, allocations: 67.7 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3123, allocations: 0 / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3123, allocations: 0 / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3123, allocations: 3.938 kB / 1.178 GB, free: 4.07 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.0005831/0.3129, allocations: 375.2 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.313, allocations: 8.031 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.313, allocations: 12.88 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3133, allocations: 196.2 kB / 1.178 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3133, allocations: 4.375 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3133, allocations: 4.375 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3135, allocations: 54.23 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3135, allocations: 4.188 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3135, allocations: 3.938 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.3136, allocations: 7.984 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3137, allocations: 27.98 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.3142, allocations: 296.8 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3145, allocations: 74.47 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.3145, allocations: 21 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3146, allocations: 0 / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3146, allocations: 30.56 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3146, allocations: 0 / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000276/0.3149, allocations: 77.56 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3149, allocations: 51.41 kB / 1.179 GB, free: 2.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3151, allocations: 125.8 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3151, allocations: 29.7 kB / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.3152, allocations: 96.16 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.3152, allocations: 3.953 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.3153, allocations: 21.7 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3154, allocations: 318.8 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.3155, allocations: 15.98 kB / 1.179 GB, free: 2.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.3156, allocations: 33.7 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.3157, allocations: 28.78 kB / 1.179 GB, free: 1.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3157, allocations: 0 / 1.179 GB, free: 1.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001558/0.3158, allocations: 65.64 kB / 1.18 GB, free: 1.891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3158, allocations: 10.02 kB / 1.18 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3159, allocations: 0 / 1.18 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3159, allocations: 0 / 1.18 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.3159, allocations: 12 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.316, allocations: 4.031 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.316, allocations: 11.92 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.316, allocations: 0 / 1.18 GB, free: 1.855 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 9.752e-05/0.3161, allocations: 117.8 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3162, allocations: 4 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.3162, allocations: 3.906 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3162, allocations: 0 / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3162, allocations: 7.938 kB / 1.18 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3162, allocations: 7.984 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.3164, allocations: 173.6 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3164, allocations: 7.875 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.3165, allocations: 7.984 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3165, allocations: 4 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3165, allocations: 0 / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3165, allocations: 4 kB / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3165, allocations: 0 / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3167, allocations: 167.7 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.3168, allocations: 81.06 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3168, allocations: 0 / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.3169, allocations: 7.984 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.317, allocations: 11.98 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.317, allocations: 4 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.3171, allocations: 91.27 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3171, allocations: 0 / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002229/0.3173, allocations: 12 kB / 1.18 GB, free: 1.055 MB / 0.92 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.0001149/0.3174, allocations: 103.2 kB / 1.18 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.3176, allocations: 31.98 kB / 1.18 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3176, allocations: 0 / 1.18 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.3177, allocations: 15.98 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.318, allocations: 7.938 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.3184, allocations: 193.2 kB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3187, allocations: 0.6885 MB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.3188, allocations: 11.44 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3188, allocations: 0 / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.002591/0.3214, allocations: 0.8406 MB / 1.182 GB, free: 15.11 MB / 0.9356 GB " [Timeout remaining time 300] 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 -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: 10.105587318073958]