Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001648/0.001648, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002043/0.002043, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 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.483/3.483, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [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.002141/0.002141, allocations: 72.91 kB / 1.184 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.412, allocations: 181.4 MB / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001896/0.4139, allocations: 0.7077 MB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.415, allocations: 0.89 MB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.4151, allocations: 0 / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.4151, allocations: 3.938 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.4152, allocations: 11.86 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.4154, allocations: 23.91 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.4155, allocations: 63.78 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4156, allocations: 16 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.4158, allocations: 31.91 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.4159, allocations: 31.84 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.4159, allocations: 8 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.4159, allocations: 4 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.4159, allocations: 8 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.416, allocations: 31.8 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.4161, allocations: 79.64 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4161, allocations: 0 / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4161, allocations: 3.938 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4161, allocations: 8 kB / 1.363 GB, free: 14.28 MB / 1.061 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.0005094/0.4167, allocations: 290.1 kB / 1.364 GB, free: 13.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4167, allocations: 12.03 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.4169, allocations: 16.88 kB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.4171, allocations: 130.4 kB / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4171, allocations: 384 / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4171, allocations: 8.375 kB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4173, allocations: 62.22 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4173, allocations: 8.062 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4173, allocations: 7.938 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4173, allocations: 0 / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.4174, allocations: 35.97 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.4179, allocations: 259.9 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.4182, allocations: 74.45 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.4183, allocations: 16.92 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4183, allocations: 0 / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4183, allocations: 34.56 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4183, allocations: 4 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002642/0.4186, allocations: 73.7 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4186, allocations: 55.34 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4187, allocations: 117.8 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.4187, allocations: 29.7 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.4188, allocations: 100 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.4188, allocations: 7.953 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.4189, allocations: 17.72 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.419, allocations: 322.8 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.4191, allocations: 12 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.4191, allocations: 37.64 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.4192, allocations: 24.84 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4192, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001391/0.4194, allocations: 65.94 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4194, allocations: 12.03 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4194, allocations: 3.984 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4194, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.4194, allocations: 7.984 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4194, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.4195, allocations: 11.95 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4195, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 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 (shaH.hys.y,$PRE.shaH.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.0001225/0.4196, allocations: 121.7 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4197, allocations: 4 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.4197, allocations: 12 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4197, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4197, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4197, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.4199, allocations: 152.7 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4199, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.4199, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.42, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.42, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.42, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.42, allocations: 19.91 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.4202, allocations: 155.4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.4202, allocations: 11.94 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4202, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.4203, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.4203, allocations: 11.98 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.4203, allocations: 8 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.4204, allocations: 95.27 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4204, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002232/0.4206, allocations: 8 kB / 1.366 GB, free: 11.59 MB / 1.061 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0001119/0.4207, allocations: 103.2 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.4209, allocations: 35.92 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4209, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.4209, allocations: 15.98 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.4212, allocations: 11.94 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.4217, allocations: 156.2 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.422, allocations: 0.6828 MB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.422, allocations: 11.98 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.4221, allocations: 11.44 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.4221, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of Templates: time 0.003405/0.4255, allocations: 0.7321 MB / 1.367 GB, free: 9.777 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.890087774023414]