Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001754/0.001754, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002186/0.002186, allocations: 208.7 kB / 23 MB, free: 4.93 MB / 14.72 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.14 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4368, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002242/0.4391, allocations: 0.6873 MB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4404, allocations: 0.8783 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.4404, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.4405, allocations: 3.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.4406, allocations: 15.86 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.4408, allocations: 19.98 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.4409, allocations: 71.7 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.441, allocations: 8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.4412, allocations: 27.92 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.4413, allocations: 35.83 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4413, allocations: 8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-05/0.4414, allocations: 8 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4414, allocations: 8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.4414, allocations: 27.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.4416, allocations: 79.58 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4416, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4416, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4416, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 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.0005251/0.4421, allocations: 290.2 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4421, allocations: 8.031 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.4423, allocations: 16.89 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.4426, allocations: 134.4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4426, allocations: 12.31 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4426, allocations: 4.359 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4427, allocations: 58.23 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4428, allocations: 192 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4428, allocations: 11.88 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4428, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.4429, allocations: 31.97 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.4433, allocations: 232.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.4436, allocations: 82.39 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.4437, allocations: 16.92 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4437, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4437, allocations: 30.56 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4437, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002657/0.444, allocations: 73.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.444, allocations: 55.41 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4441, allocations: 129.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.4442, allocations: 29.64 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.4442, allocations: 96.06 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.4442, allocations: 7.953 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.4443, allocations: 13.72 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4444, allocations: 322.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.4445, allocations: 12 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.4446, allocations: 51.41 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.4447, allocations: 32.84 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4447, allocations: 4.031 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001575/0.4448, allocations: 69.56 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4449, allocations: 10.03 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4449, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4449, allocations: 3.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.4449, allocations: 7.984 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4449, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.445, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.445, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 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.0001005/0.4451, allocations: 125.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4451, allocations: 3.953 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.4452, allocations: 12 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4452, allocations: 336 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4452, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.4452, allocations: 3.953 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.4452, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.4453, allocations: 11.97 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4453, allocations: 11.92 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001946/0.4455, allocations: 144.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000229/0.4458, allocations: 230.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.457e-05/0.4458, allocations: 12 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.544e-05/0.4459, allocations: 103.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Backend: time 3.4e-07/0.4459, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.4463, allocations: 98.38 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005646/0.4469, allocations: 0.6025 MB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Templates: time 0.003813/0.4507, allocations: 0.8763 MB / 1.333 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.597908016003203]