Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001519/0.001519, allocations: 192.9 kB / 16.14 MB, free: 6.699 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.577/1.577, allocations: 205.1 MB / 222 MB, free: 4.738 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.805/1.805, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.002338/0.002338, allocations: 64.06 kB / 0.6708 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2832, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.003053/0.2864, allocations: 0.825 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2882, allocations: 1.161 MB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.2883, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.2884, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2885, allocations: 11.94 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.2892, allocations: 114.7 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.2894, allocations: 111.8 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2895, allocations: 16 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2896, allocations: 39.91 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2898, allocations: 39.81 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.2898, allocations: 12 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2899, allocations: 23.92 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.29, allocations: 15.92 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.29, allocations: 35.84 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2903, allocations: 103.7 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2903, allocations: 0 / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2903, allocations: 0 / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2904, allocations: 0 / 0.7851 GB, free: 11.49 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.0008612/0.2912, allocations: 409.2 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2913, allocations: 16.03 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.2914, allocations: 8.844 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2915, allocations: 168.4 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2916, allocations: 8.375 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.2916, allocations: 4.375 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.2918, allocations: 70.16 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2919, allocations: 8.109 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.2919, allocations: 3.938 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.2919, allocations: 0 / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2921, allocations: 47.95 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.2929, allocations: 332.6 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.2931, allocations: 66.48 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2933, allocations: 36.95 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2933, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.2936, allocations: 83.36 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.2936, allocations: 0 / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004624/0.2941, allocations: 145.5 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.2941, allocations: 51.41 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.2942, allocations: 121.8 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2943, allocations: 29.7 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.2943, allocations: 100 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2944, allocations: 19.8 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.2945, allocations: 37.7 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2946, allocations: 322.8 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.2948, allocations: 47.97 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2949, allocations: 88.25 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.2952, allocations: 145.8 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2952, allocations: 0 / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004276/0.2957, allocations: 215.2 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.2957, allocations: 37.69 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2957, allocations: 0 / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2957, allocations: 0 / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.2958, allocations: 16.05 kB / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2958, allocations: 11.88 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2961, allocations: 39.89 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2961, allocations: 4 kB / 0.7877 GB, free: 8.57 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,edge1.y,edge1.u,$PRE.edge1.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.0001016/0.2962, allocations: 126.5 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.2962, allocations: 7.906 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.2963, allocations: 12.36 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2963, allocations: 4 kB / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2963, allocations: 0 / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2963, allocations: 0 / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.2968, allocations: 378.7 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2968, allocations: 0 / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.2968, allocations: 12 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2968, allocations: 0 / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2969, allocations: 3.984 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2969, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2969, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.2972, allocations: 223.3 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.2972, allocations: 81.02 kB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2973, allocations: 4 kB / 0.7885 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.2973, allocations: 7.984 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2974, allocations: 7.984 kB / 0.7885 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.2974, allocations: 7.938 kB / 0.7885 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.2975, allocations: 91.27 kB / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2975, allocations: 4 kB / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000248/0.2977, allocations: 24 kB / 0.7887 GB, free: 7.496 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.000163/0.2979, allocations: 100.1 kB / 0.7887 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.2983, allocations: 175.3 kB / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2983, allocations: 3.938 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2984, allocations: 48.16 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2987, allocations: 14.81 kB / 0.789 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.2991, allocations: 180.4 kB / 0.7891 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2993, allocations: 0.6888 MB / 0.7898 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.2994, allocations: 7.984 kB / 0.7898 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.2994, allocations: 11.44 kB / 0.7898 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2994, allocations: 0 / 0.7898 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.00387/0.3033, allocations: 1.33 MB / 0.7911 GB, free: 4.891 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)