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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.00159/0.00159, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.696/1.696, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009501/0.0009499, allocations: 87.14 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.981e-05, allocations: 8 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6286, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.809, allocations: 138.6 MB / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.8093, allocations: 71.95 kB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006007/0.8153, allocations: 2.072 MB / 1.111 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8153, allocations: 0 / 1.111 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.8153, allocations: 4 kB / 1.111 GB, free: 9.473 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.0005749/0.8159, allocations: 404 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.816, allocations: 8.031 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.816, allocations: 6.375 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.8162, allocations: 176.6 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.8162, allocations: 4 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.8162, allocations: 4 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.667e-05/0.8164, allocations: 20 kB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.8165, allocations: 51.64 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8165, allocations: 0 / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.8165, allocations: 4 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8165, allocations: 0 / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.817, allocations: 305.5 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.8171, allocations: 49.14 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.8172, allocations: 28.91 kB / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.8172, allocations: 0 / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.8174, allocations: 73.77 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.8174, allocations: 0 / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002312/0.8176, allocations: 81.59 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.8177, allocations: 51.41 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.8178, allocations: 114.4 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.8178, allocations: 29.7 kB / 1.112 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.8179, allocations: 95.5 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.8179, allocations: 15.81 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.818, allocations: 7.938 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8181, allocations: 322.8 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.8182, allocations: 32 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.8183, allocations: 73.28 kB / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.8185, allocations: 43.97 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8185, allocations: 0 / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003507/0.8189, allocations: 149.5 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.8189, allocations: 43.22 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.819, allocations: 0 / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.819, allocations: 0 / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.8191, allocations: 23.92 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.8191, allocations: 2.109 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.8193, allocations: 43.97 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.8193, allocations: 14.05 kB / 1.113 GB, free: 7.043 MB / 0.7136 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 () * 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 8.868e-05/0.8194, allocations: 112.9 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.8195, allocations: 7.906 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.8195, allocations: 12.56 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8195, allocations: 4 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8195, allocations: 0 / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8195, allocations: 4 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.8198, allocations: 319.1 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8198, allocations: 3.938 kB / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.8199, allocations: 11.98 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8199, allocations: 0 / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.8199, allocations: 0 / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8199, allocations: 3.938 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8199, allocations: 7.984 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.8201, allocations: 175.4 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.8201, allocations: 85.02 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8202, allocations: 4 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.8203, allocations: 11.86 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.8203, allocations: 7.984 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.8203, allocations: 8 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.8204, allocations: 89.03 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8204, allocations: 0 / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002622/0.8207, allocations: 28.55 kB / 1.114 GB, free: 6.086 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0002027/0.8209, allocations: 115.2 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.8211, allocations: 139.4 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8212, allocations: 0 / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.8212, allocations: 28.19 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.8214, allocations: 19.92 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.8217, allocations: 107 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.8219, allocations: 0.6885 MB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.822, allocations: 4 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.822, allocations: 11.44 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.822, allocations: 4 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of Templates: time 0.003109/0.8251, allocations: 1.183 MB / 1.116 GB, free: 3.781 MB / 0.7136 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)