Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001176/0.001176, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001429/0.001429, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9514/0.9514, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.76 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.171e-05, allocations: 2.312 kB / 0.76 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001285/0.001307, allocations: 0.72 MB / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.002154, allocations: 0.9038 MB / 0.7616 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.002189, allocations: 0.875 kB / 0.7616 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002214, allocations: 7.875 kB / 0.7616 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.002296, allocations: 13.2 kB / 0.7616 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.002459, allocations: 20.86 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.002542, allocations: 67.91 kB / 0.7617 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.002621, allocations: 12.81 kB / 0.7617 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.002764, allocations: 51.22 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.002809, allocations: 16.95 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.002823, allocations: 4 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.00286, allocations: 12.67 kB / 0.7618 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.002873, allocations: 7.938 kB / 0.7618 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.002893, allocations: 20.61 kB / 0.7618 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002994, allocations: 43.83 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002997, allocations: 1.656 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002998, allocations: 0 / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003001, allocations: 0 / 0.7618 GB, free: 4.855 MB / 0.7136 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.0002797/0.003281, allocations: 268.7 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.003311, allocations: 9 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.003404, allocations: 12.92 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.003512, allocations: 135.7 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.003525, allocations: 4.312 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.003534, allocations: 4.375 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.021e-05/0.003614, allocations: 58.94 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.003619, allocations: 192 / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.003625, allocations: 5.125 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.003629, allocations: 384 / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.003649, allocations: 8.688 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.003848, allocations: 176.9 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.003969, allocations: 48.73 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.003981, allocations: 8.859 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.003991, allocations: 96 / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.004009, allocations: 38.55 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.00401, allocations: 0 / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.384e-05/0.004104, allocations: 51.03 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.004131, allocations: 55.41 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.004186, allocations: 122.8 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.0042, allocations: 25.7 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.004235, allocations: 93.36 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.004249, allocations: 11.91 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.004274, allocations: 13.72 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.004346, allocations: 324.1 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.004357, allocations: 4 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.004384, allocations: 39.42 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.00441, allocations: 20.78 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.004412, allocations: 3.062 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.773e-05/0.00446, allocations: 41.69 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.00447, allocations: 4 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004474, allocations: 3.938 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.004483, allocations: 336 / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.004524, allocations: 11.98 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.004526, allocations: 0 / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.004549, allocations: 14.69 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.004553, allocations: 3.938 kB / 0.7634 GB, free: 3.109 MB / 0.7136 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 4.95e-05/0.004602, allocations: 117.8 kB / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.004615, allocations: 7.938 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.004635, allocations: 11.94 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.004637, allocations: 0 / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.004638, allocations: 0 / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.004642, allocations: 5.312 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.067e-05/0.004723, allocations: 73.88 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.004723, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.004742, allocations: 4.5 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.004744, allocations: 3.984 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.004748, allocations: 0.6562 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.004749, allocations: 3.094 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.004751, allocations: 3.938 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.923e-05/0.00483, allocations: 139.5 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.004839, allocations: 7.953 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.004851, allocations: 0 / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.004885, allocations: 7.984 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.004914, allocations: 11.86 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.004916, allocations: 0 / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.844e-05/0.004935, allocations: 24.84 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004935, allocations: 3.125 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001118/0.005047, allocations: 4 kB / 0.7638 GB, free: 2.645 MB / 0.7136 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 7.009e-05/0.005117, allocations: 76.42 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.633e-05/0.005173, allocations: 20.84 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.005175, allocations: 0 / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.005191, allocations: 8.859 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.005314, allocations: 17.75 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.005672, allocations: 165 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.005704, allocations: 59.34 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.005732, allocations: 10.42 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.005781, allocations: 51.38 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/0.005782, allocations: 2.812 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of Templates: time 0.002353/0.008134, allocations: 0.7981 MB / 0.765 GB, free: 1.426 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9417817601934075]