Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001569/0.001569, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001734/0.001734, allocations: 200.5 kB / 16.26 MB, free: 6.621 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.52/1.52, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.69 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4183, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002259/0.4206, allocations: 0.7659 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.4218, allocations: 0.8429 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.4219, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.4219, allocations: 3.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.4221, allocations: 7.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.4223, allocations: 27.97 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.4224, allocations: 59.84 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.4226, allocations: 12 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4227, allocations: 23.92 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.4228, allocations: 35.78 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.4228, allocations: 8 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.4229, allocations: 7.938 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.4229, allocations: 15.92 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.423, allocations: 27.86 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.4231, allocations: 60.11 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4231, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4231, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.4231, allocations: 0 / 1.07 GB, free: 8.898 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.0007171/0.4239, allocations: 371.2 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4239, allocations: 8.031 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.424, allocations: 12.83 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.4243, allocations: 196.2 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4243, allocations: 4.375 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.4243, allocations: 4.375 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.4245, allocations: 58.19 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4245, allocations: 4.172 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4245, allocations: 3.938 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4246, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4247, allocations: 27.98 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.4253, allocations: 300.8 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.4256, allocations: 70.47 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.4257, allocations: 25 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4257, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4258, allocations: 34.56 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4258, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002945/0.4261, allocations: 73.7 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.4261, allocations: 51.41 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4263, allocations: 129.8 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.4263, allocations: 29.7 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.4264, allocations: 92.05 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.4264, allocations: 3.906 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.4265, allocations: 21.7 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4266, allocations: 322.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.4267, allocations: 15.98 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.4268, allocations: 33.69 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.076e-05/0.4269, allocations: 28.84 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4269, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00019/0.4271, allocations: 69.56 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4271, allocations: 4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4272, allocations: 7.984 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4272, allocations: 4 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.4272, allocations: 4 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4273, allocations: 32 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.4273, allocations: 19.86 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4273, allocations: 4 kB / 1.071 GB, free: 6.672 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.0001133/0.4275, allocations: 114.4 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.4275, allocations: 7.906 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.4275, allocations: 7.906 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4276, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4276, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4276, allocations: 3.984 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.4278, allocations: 173.6 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4278, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.4279, allocations: 11.98 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4279, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4279, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4279, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.4279, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.4281, allocations: 167.3 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.4282, allocations: 77.11 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4282, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.4283, allocations: 11.98 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.4284, allocations: 3.984 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4284, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.4285, allocations: 91.27 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4285, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002351/0.4287, allocations: 15.91 kB / 1.072 GB, free: 5.887 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.0001337/0.4289, allocations: 99.25 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.4291, allocations: 35.92 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4291, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.4291, allocations: 19.92 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4295, allocations: 7.938 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.4299, allocations: 180 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4303, allocations: 0.6884 MB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.19e-05/0.4304, allocations: 11.97 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.4304, allocations: 15.44 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of SimCode: time 7.51e-07/0.4304, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.003209/0.4336, allocations: 0.6331 MB / 1.074 GB, free: 4.148 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)