Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, 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.001503/0.001504, allocations: 194 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.00168, allocations: 73.03 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3392, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002538/0.3417, allocations: 0.8212 MB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.3434, allocations: 1.15 MB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.3435, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.3435, allocations: 4 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.3437, allocations: 7.922 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.3442, allocations: 115.8 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3444, allocations: 123.8 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3445, allocations: 15.98 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3446, allocations: 43.91 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.3447, allocations: 47.81 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3448, allocations: 8 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.367e-05/0.3448, allocations: 31.92 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.3449, allocations: 15.94 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.345, allocations: 43.84 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3452, allocations: 107.7 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3452, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3452, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3452, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 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.0006713/0.3459, allocations: 415.6 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3459, allocations: 8.031 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.346, allocations: 12.84 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3461, allocations: 164.4 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3462, allocations: 4.375 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3462, allocations: 12.31 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3464, allocations: 70.09 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3464, allocations: 4.172 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3464, allocations: 3.938 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3464, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3466, allocations: 43.95 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.3472, allocations: 340.6 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3474, allocations: 62.48 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3475, allocations: 36.97 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3475, allocations: 4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3478, allocations: 83.36 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.3478, allocations: 0 / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004332/0.3482, allocations: 145.5 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3483, allocations: 63.39 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.3484, allocations: 113.8 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3484, allocations: 29.7 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3485, allocations: 92.05 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3485, allocations: 23.86 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.3486, allocations: 33.7 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3487, allocations: 326.8 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3489, allocations: 47.97 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.349, allocations: 84.25 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3493, allocations: 145.8 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3493, allocations: 4 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004334/0.3497, allocations: 207.1 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.3498, allocations: 44 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3498, allocations: 0 / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3498, allocations: 4 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.3499, allocations: 19.92 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3499, allocations: 3.938 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3502, allocations: 35.89 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3502, allocations: 8 kB / 0.7879 GB, free: 8.434 MB / 0.6075 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.3503, allocations: 129.8 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.3503, allocations: 3.906 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3504, allocations: 16.36 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3504, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3504, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3504, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.3508, allocations: 382.4 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3508, allocations: 0 / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.3509, allocations: 4 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3509, allocations: 3.938 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3509, allocations: 3.984 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3509, allocations: 4 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3509, allocations: 0 / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.3512, allocations: 215.3 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3513, allocations: 85.02 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3513, allocations: 0 / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.3514, allocations: 7.984 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.3515, allocations: 8 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3515, allocations: 7.922 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.3515, allocations: 87.28 kB / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3515, allocations: 0 / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002567/0.3518, allocations: 35.98 kB / 0.7889 GB, free: 7.359 MB / 0.6075 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 (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.0001625/0.352, allocations: 107.2 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.3524, allocations: 175.3 kB / 0.7891 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3524, allocations: 0 / 0.7891 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3525, allocations: 44.16 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3528, allocations: 13.5 kB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3532, allocations: 182.6 kB / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3535, allocations: 0.6952 MB / 0.79 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.3535, allocations: 3.984 kB / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3535, allocations: 15.44 kB / 0.7901 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3535, allocations: 4 kB / 0.7901 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.004021/0.3576, allocations: 1.404 MB / 0.7914 GB, free: 4.668 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)