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.001134, allocations: 104.6 kB / 16.36 MB, free: 6.309 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.001108/0.001108, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001426/0.001426, allocations: 71.91 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 114.5 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001977/0.2101, allocations: 0.7642 MB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2115, allocations: 1.145 MB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.2116, allocations: 4 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.2116, allocations: 3.938 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.2117, allocations: 7.875 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.2121, allocations: 135 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2123, allocations: 123.8 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.2124, allocations: 15.98 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.2125, allocations: 55.89 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.2126, allocations: 43.81 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2126, allocations: 12 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.2127, allocations: 24 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.2128, allocations: 15.92 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.2128, allocations: 47.77 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.213, allocations: 99.75 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.213, allocations: 0 / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/0.213, allocations: 4 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.213, allocations: 0 / 0.7872 GB, free: 0.6172 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.0005552/0.2136, allocations: 416.9 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2136, allocations: 12.02 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.2137, allocations: 8.844 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3364/0.5501, allocations: 168.3 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.5501, allocations: 3.469 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.5502, allocations: 10.28 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.5504, allocations: 63.22 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5505, allocations: 2.938 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5505, allocations: 1.219 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5505, allocations: 0 / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.5507, allocations: 49.8 kB / 0.7879 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.5511, allocations: 337.2 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.5513, allocations: 56.27 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.5514, allocations: 35.34 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.5514, allocations: 1.969 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.5516, allocations: 98.5 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.5516, allocations: 0 / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004296/0.5521, allocations: 140.3 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.5521, allocations: 54.09 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.5522, allocations: 116.9 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.5522, allocations: 31.11 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.5522, allocations: 93.03 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.5523, allocations: 23.98 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.5523, allocations: 41.83 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.5524, allocations: 317.9 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5526, allocations: 51.23 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.5527, allocations: 83.25 kB / 0.7893 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.553, allocations: 148.3 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.553, allocations: 0 / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003804/0.5534, allocations: 219.1 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.5534, allocations: 39.81 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5534, allocations: 0 / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5534, allocations: 3.719 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.5535, allocations: 12.09 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5535, allocations: 2.359 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.5537, allocations: 41.84 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5538, allocations: 8.078 kB / 0.7898 GB, free: 47.64 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.428e-05/0.5539, allocations: 123.8 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.5539, allocations: 10.75 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.5539, allocations: 14.23 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5539, allocations: 0 / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5539, allocations: 0 / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5539, allocations: 4.172 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.5543, allocations: 381 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5543, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.5544, allocations: 7.625 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5544, allocations: 2.391 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5544, allocations: 3.375 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5544, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5544, allocations: 1.281 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.5547, allocations: 212.9 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.5547, allocations: 88.2 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.5547, allocations: 0.625 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.5548, allocations: 10.41 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.5549, allocations: 6.844 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.5549, allocations: 7.062 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.5549, allocations: 91.02 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5549, allocations: 0.7812 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002589/0.5552, allocations: 21 kB / 0.7907 GB, free: 46.91 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.0001474/0.5554, allocations: 109.3 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.5557, allocations: 179.7 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5557, allocations: 5.031 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.5559, allocations: 43.48 kB / 0.7911 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.5562, allocations: 8.016 kB / 0.7911 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.5565, allocations: 195 kB / 0.7913 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.5566, allocations: 0.6909 MB / 0.7919 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.5567, allocations: 12.41 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.5567, allocations: 0 / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002678/0.5594, allocations: 1.252 MB / 0.7932 GB, free: 45.87 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)