Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 115.8 kB / 16.37 MB, free: 5.996 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.001455/0.001455, allocations: 188 kB / 17.3 MB, free: 5.617 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.324/1.324, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.738/1.738, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001455/0.001455, allocations: 68.12 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002105/0.2434, allocations: 0.7759 MB / 0.7856 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.2449, allocations: 1.141 MB / 0.7867 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.2449, allocations: 0 / 0.7867 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.245, allocations: 7.938 kB / 0.7867 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.2451, allocations: 19.84 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.2456, allocations: 129.9 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.2458, allocations: 123.7 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2459, allocations: 23.98 kB / 0.787 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.246, allocations: 43.91 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2461, allocations: 47.81 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.2461, allocations: 8 kB / 0.7871 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.2462, allocations: 39.91 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.2462, allocations: 7.984 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.2463, allocations: 39.86 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2465, allocations: 111.7 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2465, allocations: 4 kB / 0.7873 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2465, allocations: 0 / 0.7873 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2465, allocations: 0 / 0.7873 GB, free: 0.6758 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005855/0.2471, allocations: 416.9 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2471, allocations: 12.03 kB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.2472, allocations: 8.844 kB / 0.7877 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3316/0.5788, allocations: 173.5 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.5788, allocations: 3.469 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.5789, allocations: 8.188 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.5792, allocations: 66.19 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5792, allocations: 0.9375 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5792, allocations: 4.5 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5792, allocations: 2.625 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.5794, allocations: 48.08 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.5799, allocations: 342.3 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.58, allocations: 58.67 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.5801, allocations: 30.64 kB / 0.7884 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5802, allocations: 3.938 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.5804, allocations: 87.78 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.5804, allocations: 0.5 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004132/0.5808, allocations: 148.8 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5809, allocations: 58.16 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.5809, allocations: 114.7 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.581, allocations: 35.83 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.581, allocations: 91.33 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.581, allocations: 14.66 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.5811, allocations: 39.66 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.5812, allocations: 321.8 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5813, allocations: 50.69 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.5815, allocations: 92.75 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.5817, allocations: 144.8 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5817, allocations: 0 / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000385/0.5821, allocations: 214.7 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5822, allocations: 37.33 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5822, allocations: 2.25 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5822, allocations: 3.688 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.5823, allocations: 11.89 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5823, allocations: 2.375 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.5825, allocations: 35.55 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.5825, allocations: 15.22 kB / 0.7898 GB, free: 47.54 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.983e-05/0.5826, allocations: 121.4 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.5827, allocations: 14.34 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.5827, allocations: 11.64 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5827, allocations: 3.797 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5827, allocations: 0 / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5827, allocations: 0.625 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.5831, allocations: 381.5 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5831, allocations: 4.469 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.5832, allocations: 10.78 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5832, allocations: 3.312 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.5832, allocations: 2.062 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5832, allocations: 3.609 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5832, allocations: 0.5312 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.5835, allocations: 208.8 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.5835, allocations: 85.08 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5835, allocations: 3.75 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.5836, allocations: 12.11 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.5837, allocations: 8.625 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.5837, allocations: 5.625 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.5837, allocations: 92.06 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5837, allocations: 0.9375 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002619/0.584, allocations: 24.81 kB / 0.7908 GB, free: 46.8 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001589/0.5842, allocations: 114.8 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.5845, allocations: 178.3 kB / 0.7911 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5845, allocations: 3.469 kB / 0.7911 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.5847, allocations: 34.88 kB / 0.7911 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.585, allocations: 9.188 kB / 0.7911 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.5854, allocations: 195 kB / 0.7913 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.5855, allocations: 0.6897 MB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.5855, allocations: 11.66 kB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.5855, allocations: 2.625 kB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.002647/0.5882, allocations: 1.268 MB / 0.7932 GB, free: 45.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)