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.0009835/0.0009835, allocations: 80.8 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.0009882/0.0009882, 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.9675/0.9675, 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.88/1.88, allocations: 377.9 MB / 0.624 GB, free: 8.355 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_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: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.76 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.548e-05, allocations: 6.25 kB / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00176/0.001796, allocations: 0.7188 MB / 0.7607 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003013, allocations: 0.901 MB / 0.7616 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.003072, allocations: 0 / 0.7616 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.003103, allocations: 3.938 kB / 0.7616 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.752e-05/0.0032, allocations: 12.73 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.00339, allocations: 36.72 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.003478, allocations: 55.8 kB / 0.7617 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.003564, allocations: 21.06 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.003726, allocations: 40.23 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.003777, allocations: 22.09 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.003791, allocations: 8 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.805e-05/0.003829, allocations: 4 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.003845, allocations: 15.92 kB / 0.7618 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.003865, allocations: 12 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.00397, allocations: 48.98 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003973, allocations: 4 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003974, allocations: 0 / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003977, allocations: 0.6562 kB / 0.7618 GB, free: 4.836 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.0003212/0.004298, allocations: 265.8 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.004328, allocations: 8.031 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.004429, allocations: 16.92 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.004547, allocations: 126.2 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.004563, allocations: 5.625 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.004576, allocations: 8.359 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.004661, allocations: 54.95 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004668, allocations: 1.438 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004676, allocations: 4.359 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004681, allocations: 4.312 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.004704, allocations: 11.94 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.004916, allocations: 173.3 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.005035, allocations: 52.52 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.005049, allocations: 8.859 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.005059, allocations: 0 / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.00508, allocations: 38.56 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005081, allocations: 1.219 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001094/0.005191, allocations: 45.72 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.005221, allocations: 59.39 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.00528, allocations: 119.2 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.005295, allocations: 29.7 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.005328, allocations: 80.89 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.005348, allocations: 27.81 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.005373, allocations: 18.41 kB / 0.7629 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.005445, allocations: 318.8 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.005457, allocations: 4.781 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.005487, allocations: 40.83 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.00551, allocations: 17.12 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005512, allocations: 0 / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.331e-05/0.005566, allocations: 45.67 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.005576, allocations: 5.25 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005581, allocations: 3.938 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.005593, allocations: 4 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.005631, allocations: 12.95 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.005634, allocations: 0 / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.005658, allocations: 8 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.005663, allocations: 0.9375 kB / 0.7634 GB, free: 3.09 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 (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.194e-05/0.005715, allocations: 110.4 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.005728, allocations: 3.984 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.005749, allocations: 18.78 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005751, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.005753, allocations: 4 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005756, allocations: 0 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.737e-05/0.005843, allocations: 73.88 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005844, allocations: 3.938 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.005859, allocations: 4 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005861, allocations: 3.031 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.005866, allocations: 0 / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.005867, allocations: 4 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.005869, allocations: 3.938 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.665e-05/0.005946, allocations: 139.5 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.005954, allocations: 7.953 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.005965, allocations: 0 / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.006003, allocations: 4 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.006036, allocations: 13.42 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.006039, allocations: 3.984 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.006058, allocations: 20.84 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006058, allocations: 0 / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001148/0.006173, allocations: 8 kB / 0.7638 GB, free: 2.629 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 (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.612e-05/0.006249, allocations: 82.06 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.983e-05/0.006309, allocations: 16.8 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006311, allocations: 1.031 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.006327, allocations: 16.84 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.006452, allocations: 12.66 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.006861, allocations: 173.1 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.006893, allocations: 59.34 kB / 0.7641 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.006921, allocations: 6.438 kB / 0.7641 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.006975, allocations: 59.36 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/0.006975, allocations: 3.938 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.002262/0.009238, allocations: 0.7853 MB / 0.765 GB, free: 1.406 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1024678139947355]