Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008055/0.0008055, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007969/0.0007969, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9565/0.9565, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.707/1.707, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.914e-05, allocations: 9.312 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001279/0.001308, allocations: 0.6895 MB / 0.9524 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.002111, allocations: 0.8782 MB / 0.9532 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.002152, allocations: 0 / 0.9532 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.002179, allocations: 3.938 kB / 0.9532 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.002261, allocations: 15.86 kB / 0.9532 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.002461, allocations: 27.97 kB / 0.9533 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.002539, allocations: 55.78 kB / 0.9533 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.002639, allocations: 16 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.002781, allocations: 43.83 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.00284, allocations: 23.91 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.002856, allocations: 11.88 kB / 0.9534 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.002893, allocations: 8 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.002908, allocations: 19.92 kB / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.00293, allocations: 11.98 kB / 0.9534 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.00306, allocations: 79.77 kB / 0.9535 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003062, allocations: 0 / 0.9535 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003063, allocations: 0 / 0.9535 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003067, allocations: 0 / 0.9535 GB, free: 1.113 MB / 0.9011 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.0003845/0.003451, allocations: 298 kB / 0.9538 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.003487, allocations: 8.031 kB / 0.9538 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.003602, allocations: 16.88 kB / 0.9538 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.00376, allocations: 133.7 kB / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.003775, allocations: 12.38 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.003784, allocations: 384 / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.003887, allocations: 62.17 kB / 0.954 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003894, allocations: 192 / 0.954 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.003904, allocations: 384 / 0.954 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00391, allocations: 4.359 kB / 0.954 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.003972, allocations: 31.92 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.004268, allocations: 240.5 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.004452, allocations: 74.47 kB / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.004482, allocations: 17 kB / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.004496, allocations: 3.938 kB / 0.9544 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.004513, allocations: 38.5 kB / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004514, allocations: 0 / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.004684, allocations: 69.62 kB / 0.9545 GB, free: 4 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.004726, allocations: 59.39 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.004795, allocations: 125.7 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.004809, allocations: 29.7 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.004853, allocations: 96.09 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.004866, allocations: 3.953 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.004894, allocations: 21.7 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.00497, allocations: 314.8 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.005003, allocations: 15.98 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.00505, allocations: 55.41 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.0051, allocations: 28.84 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005101, allocations: 0 / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.985e-05/0.005181, allocations: 69.59 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005195, allocations: 11.98 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005199, allocations: 0 / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.005209, allocations: 0 / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.836e-05/0.005248, allocations: 4 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005252, allocations: 3.938 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.005283, allocations: 15.94 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005289, allocations: 4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 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 5.73e-05/0.005346, allocations: 113.8 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.00536, allocations: 7.938 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.005382, allocations: 8 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005384, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.005387, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.005391, allocations: 3.984 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.005483, allocations: 113.3 kB / 0.9555 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005484, allocations: 0 / 0.9555 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.005501, allocations: 8 kB / 0.9555 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005503, allocations: 3.938 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.005511, allocations: 8.25 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005512, allocations: 4 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005513, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.005619, allocations: 164 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.005629, allocations: 11.89 kB / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.005642, allocations: 3.938 kB / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.005679, allocations: 4 kB / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.005717, allocations: 15.97 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.00572, allocations: 0 / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.134e-05/0.005802, allocations: 95.27 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005802, allocations: 0 / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001423/0.005944, allocations: 12 kB / 0.9559 GB, free: 14.46 MB / 0.9167 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 7.054e-05/0.006015, allocations: 95.25 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.006117, allocations: 35.92 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006119, allocations: 0 / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.00615, allocations: 15.98 kB / 0.956 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.006348, allocations: 10.03 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.006607, allocations: 178.4 kB / 0.9562 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.006651, allocations: 71.33 kB / 0.9562 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.006681, allocations: 12.5 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of SimCode: time 2.6e-07/0.006681, allocations: 0 / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of Templates: time 0.001598/0.008279, allocations: 0.871 MB / 0.9571 GB, free: 13.12 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.507183818146586]