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.001133/0.001133, allocations: 105.7 kB / 16.35 MB, free: 5.879 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.00121/0.00121, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.525/1.525, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.883/1.883, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001482/0.001482, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2822, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002161/0.2844, allocations: 0.7674 MB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2859, allocations: 1.148 MB / 0.7867 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.286, allocations: 3.938 kB / 0.7867 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.286, allocations: 3.938 kB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.2861, allocations: 7.922 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.2866, allocations: 135.1 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.2868, allocations: 119.8 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2869, allocations: 16 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.287, allocations: 47.84 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2871, allocations: 51.8 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.2871, allocations: 8 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.2872, allocations: 23.98 kB / 0.7871 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.2872, allocations: 11.98 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.2873, allocations: 47.84 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2875, allocations: 111.7 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2875, allocations: 0 / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2875, allocations: 0 / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2875, allocations: 4 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 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.0006548/0.2882, allocations: 408.9 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2882, allocations: 8.031 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.2883, allocations: 12.84 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2884, allocations: 168.3 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4668/0.7552, allocations: 6.781 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.7554, allocations: 6.875 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.7556, allocations: 67.69 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7556, allocations: 2.906 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.7556, allocations: 1.656 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7556, allocations: 3.938 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.7558, allocations: 44.31 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.7563, allocations: 334.1 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.7565, allocations: 59.8 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.7566, allocations: 32.95 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.7566, allocations: 1.688 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.7569, allocations: 91.14 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/0.7569, allocations: 0 / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.7573, allocations: 142.1 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.7573, allocations: 61.25 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.7574, allocations: 120.6 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.7574, allocations: 32.08 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.7575, allocations: 96.52 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.7575, allocations: 15 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.7576, allocations: 36.62 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.7576, allocations: 322.3 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7578, allocations: 50.94 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.7579, allocations: 86.62 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.7582, allocations: 140.8 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7582, allocations: 0 / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003957/0.7586, allocations: 214 kB / 0.7897 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.7586, allocations: 37.92 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7586, allocations: 2.688 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7587, allocations: 4.594 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.7588, allocations: 16.17 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7588, allocations: 6.031 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.759, allocations: 40.95 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.759, allocations: 11.55 kB / 0.7898 GB, free: 47.65 MB / 0.6544 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 7.05e-05/0.7591, allocations: 119.9 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.7591, allocations: 6.75 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.7591, allocations: 7.812 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7591, allocations: 10.28 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7591, allocations: 3.625 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7592, allocations: 3.688 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.7595, allocations: 373.7 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7595, allocations: 0 / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.7596, allocations: 14.53 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.7596, allocations: 5.219 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.7596, allocations: 1.312 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7596, allocations: 0.625 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7596, allocations: 0.6562 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.7599, allocations: 213.4 kB / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.7599, allocations: 90.77 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7599, allocations: 0.7812 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.76, allocations: 11.78 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.7601, allocations: 5.438 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.7601, allocations: 2.625 kB / 0.7906 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.7601, allocations: 94.39 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7601, allocations: 0.9062 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002607/0.7604, allocations: 24.75 kB / 0.7907 GB, free: 46.92 MB / 0.6544 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.0001337/0.7605, allocations: 103.8 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.7609, allocations: 181 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7609, allocations: 1.594 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.761, allocations: 41.38 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.7613, allocations: 23.14 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.7616, allocations: 156.7 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.7618, allocations: 0.6866 MB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.7618, allocations: 7.266 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.7618, allocations: 12.94 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7618, allocations: 3.719 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.003572/0.7654, allocations: 1.438 MB / 0.7933 GB, free: 45.9 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)