Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 192.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.58 kB / 0.9113 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4157, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00321/0.419, allocations: 0.758 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.4206, allocations: 0.8546 MB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.4207, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.4208, allocations: 3.938 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.421, allocations: 3.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.4212, allocations: 23.97 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.4214, allocations: 51.86 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4215, allocations: 23.98 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.4217, allocations: 23.86 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4218, allocations: 27.84 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.4219, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.4219, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.4219, allocations: 15.92 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.422, allocations: 15.88 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.4221, allocations: 68.11 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.4221, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4222, allocations: 3.938 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4222, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 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.000644/0.4228, allocations: 369 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4229, allocations: 12.03 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.4229, allocations: 4.844 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4233, allocations: 192.2 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4233, allocations: 12.31 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.4233, allocations: 384 / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.4235, allocations: 58.23 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4235, allocations: 192 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4235, allocations: 7.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4235, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.4237, allocations: 35.89 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.4242, allocations: 300.8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4246, allocations: 70.58 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.4246, allocations: 12.86 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4247, allocations: 8 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4247, allocations: 30.66 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4247, allocations: 0 / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003027/0.425, allocations: 81.5 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4251, allocations: 51.41 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4252, allocations: 117.8 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4252, allocations: 25.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.4253, allocations: 104.1 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.4253, allocations: 11.91 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.4254, allocations: 13.72 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4256, allocations: 322.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.4256, allocations: 15.98 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.4257, allocations: 25.72 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.4258, allocations: 36.81 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4258, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001666/0.426, allocations: 65.61 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.426, allocations: 8 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.426, allocations: 3.984 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4261, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.4261, allocations: 7.984 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4262, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.4262, allocations: 11.94 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4262, allocations: 7.984 kB / 1.071 GB, free: 6.777 MB / 0.8262 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.0001364/0.4264, allocations: 117.8 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.4264, allocations: 7.906 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.4265, allocations: 11.91 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4265, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4265, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4265, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.4267, allocations: 177.6 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4268, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.4268, allocations: 11.94 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4268, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4268, allocations: 7.984 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4268, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4269, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.4271, allocations: 163.7 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.4272, allocations: 81.11 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.4272, allocations: 3.938 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.4273, allocations: 8 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.4274, allocations: 7.984 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.4274, allocations: 3.984 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.4275, allocations: 91.28 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4275, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002427/0.4277, allocations: 7.906 kB / 1.072 GB, free: 5.984 MB / 0.8262 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 0.0001431/0.4279, allocations: 103.2 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4281, allocations: 39.92 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4281, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.4281, allocations: 19.98 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4285, allocations: 7.938 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.429, allocations: 173.7 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.4293, allocations: 0.6848 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.122e-05/0.4294, allocations: 3.984 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.4294, allocations: 11.44 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4294, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.003641/0.4331, allocations: 0.6025 MB / 1.074 GB, free: 4.285 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)