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.001462/0.001462, allocations: 101.9 kB / 16.27 MB, free: 5.965 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.001711/0.001711, allocations: 192.5 kB / 17.2 MB, free: 5.59 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.428/1.428, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.765/1.765, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.00166/0.00166, allocations: 74.86 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2836, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002465/0.2862, allocations: 0.7518 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.2879, allocations: 1.152 MB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.2879, allocations: 0 / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.288, allocations: 3.938 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.602e-05/0.2881, allocations: 15.86 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.2887, allocations: 130.9 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.2889, allocations: 123.8 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.289, allocations: 15.98 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2891, allocations: 47.89 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.2892, allocations: 39.89 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2893, allocations: 8 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.2894, allocations: 35.92 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.2894, allocations: 11.92 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.2895, allocations: 43.83 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2897, allocations: 107.8 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2897, allocations: 4 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2897, allocations: 0 / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2897, allocations: 0 / 0.7865 GB, free: 1.363 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.0006281/0.2904, allocations: 409.2 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2904, allocations: 8.031 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.2905, allocations: 20.78 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.2906, allocations: 172.3 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2907, allocations: 4.375 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.2907, allocations: 8.375 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.2909, allocations: 62.22 kB / 0.7871 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2909, allocations: 4.188 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2909, allocations: 7.875 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.291, allocations: 0 / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2911, allocations: 51.94 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.2917, allocations: 324.7 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2919, allocations: 62.42 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.292, allocations: 45.02 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.292, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5795/0.8716, allocations: 76.66 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 4.208e-06/0.8716, allocations: 0 / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.8722, allocations: 142.2 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.8722, allocations: 57.55 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.8723, allocations: 118.4 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.8723, allocations: 34.14 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.8724, allocations: 96.91 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.8724, allocations: 15.17 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.8725, allocations: 41.08 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.8726, allocations: 313.5 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.8728, allocations: 57.52 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.873, allocations: 85.58 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.8732, allocations: 144.8 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8732, allocations: 4.219 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004194/0.8737, allocations: 210 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.8737, allocations: 34.33 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8737, allocations: 2.625 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8738, allocations: 2.625 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.8739, allocations: 19.64 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8739, allocations: 0 / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.8741, allocations: 44.97 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.8741, allocations: 9.688 kB / 0.789 GB, free: 47.89 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.935e-05/0.8742, allocations: 133 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.8743, allocations: 6.438 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.8743, allocations: 10.38 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8743, allocations: 0 / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.8743, allocations: 0 / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8743, allocations: 3.438 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.8747, allocations: 376.2 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8748, allocations: 0 / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.8748, allocations: 15.89 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8748, allocations: 3.281 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.8748, allocations: 0 / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.8748, allocations: 2.938 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.8749, allocations: 2.438 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.8751, allocations: 207.6 kB / 0.7898 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.8752, allocations: 80.27 kB / 0.7898 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.8752, allocations: 4.719 kB / 0.7898 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.8753, allocations: 9.594 kB / 0.7898 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.8753, allocations: 6.031 kB / 0.7899 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.8753, allocations: 4.688 kB / 0.7899 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.8754, allocations: 91.83 kB / 0.7899 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8754, allocations: 1.844 kB / 0.7899 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002601/0.8757, allocations: 34.03 kB / 0.79 GB, free: 47.16 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.0001602/0.8758, allocations: 104 kB / 0.7901 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.8762, allocations: 183 kB / 0.7903 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8762, allocations: 0.7188 kB / 0.7903 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.8763, allocations: 41.55 kB / 0.7903 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.8766, allocations: 18.58 kB / 0.7903 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.877, allocations: 189.8 kB / 0.7905 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.8772, allocations: 0.6878 MB / 0.7912 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.8772, allocations: 16.3 kB / 0.7912 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.8772, allocations: 0 / 0.7912 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.002883/0.8801, allocations: 1.256 MB / 0.7924 GB, free: 46.12 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)