Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.779/1.779, allocations: 288.4 MB / 303.7 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 176.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.631 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008376/0.0008377, allocations: 98.23 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006338/0.0006343, allocations: 16.58 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2787, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001/0.2797, allocations: 474.5 kB / 0.9806 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2814, allocations: 1.122 MB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.2815, allocations: 0 / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.2815, allocations: 11.92 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.2816, allocations: 3.938 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.282, allocations: 119.4 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2821, allocations: 91.8 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.2822, allocations: 16 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.2823, allocations: 39.91 kB / 0.982 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.2824, allocations: 39.81 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2824, allocations: 4 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.2825, allocations: 23.98 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.2825, allocations: 7.984 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.2826, allocations: 61.56 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.2827, allocations: 79.81 kB / 0.9822 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2827, allocations: 0 / 0.9822 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2827, allocations: 0 / 0.9822 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2827, allocations: 0 / 0.9822 GB, free: 25.26 MB / 0.6198 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.0003854/0.2831, allocations: 397.2 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.2832, allocations: 12.03 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.2832, allocations: 4.938 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2833, allocations: 176.2 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2834, allocations: 8.375 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.2834, allocations: 12.31 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2836, allocations: 74.14 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.2836, allocations: 192 / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2836, allocations: 7.938 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-06/0.2836, allocations: 4 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.2838, allocations: 47.97 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.2842, allocations: 340.6 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.2844, allocations: 62.55 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.2845, allocations: 48.94 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.2845, allocations: 0 / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.2848, allocations: 99.28 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2848, allocations: 0 / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004691/0.2853, allocations: 157.6 kB / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.2853, allocations: 51.41 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.2854, allocations: 113.8 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2854, allocations: 41.69 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2854, allocations: 88.14 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2855, allocations: 15.81 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.2855, allocations: 0 / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.2855, allocations: 322.8 kB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2857, allocations: 51.97 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2859, allocations: 96.19 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.2862, allocations: 161.8 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2862, allocations: 0 / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005017/0.2867, allocations: 219.1 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.2868, allocations: 39.27 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2868, allocations: 0 / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2868, allocations: 4 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.2869, allocations: 15.92 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2869, allocations: 4.125 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.2872, allocations: 59.73 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2872, allocations: 8 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.2873, allocations: 135.3 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.2873, allocations: 4 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.2873, allocations: 8.375 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2873, allocations: 0 / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2873, allocations: 7.938 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.2873, allocations: 0 / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.2877, allocations: 386.4 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2877, allocations: 0 / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.2878, allocations: 11.98 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2878, allocations: 4.062 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2878, allocations: 11.88 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2878, allocations: 0 / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2878, allocations: 0 / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.288, allocations: 223.3 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.288, allocations: 77.11 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2881, allocations: 0 / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.2882, allocations: 15.98 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.2882, allocations: 11.98 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.2882, allocations: 3.938 kB / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.2882, allocations: 99.75 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2882, allocations: 0 / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002239/0.2885, allocations: 24 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.2886, allocations: 107.2 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2889, allocations: 183.3 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2889, allocations: 0 / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.289, allocations: 52.67 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2892, allocations: 13.02 kB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.2895, allocations: 181.7 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2896, allocations: 0.6926 MB / 0.987 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.2897, allocations: 7.781 kB / 0.987 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.2897, allocations: 7.438 kB / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2897, allocations: 4 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.002696/0.2924, allocations: 1.312 MB / 0.9883 GB, free: 18.6 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)