Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001014/0.001014, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009342/0.009342, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.593/1.593, allocations: 205.4 MB / 222.5 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 252 MB / 0.5105 GB, free: 4.68 MB / 414.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.0005968/0.000597, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.617, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001784/0.6189, allocations: 1.195 MB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004647/0.6194, allocations: 212.3 kB / 0.7301 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.6194, allocations: 0 / 0.7301 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.6195, allocations: 7.922 kB / 0.7301 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.6196, allocations: 7.938 kB / 0.7301 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.6198, allocations: 19.98 kB / 0.7301 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.6199, allocations: 63.78 kB / 0.7302 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.62, allocations: 19.97 kB / 0.7302 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.6201, allocations: 23.86 kB / 0.7302 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.6202, allocations: 23.8 kB / 0.7303 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.6202, allocations: 4 kB / 0.7303 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.6202, allocations: 4 kB / 0.7303 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.6203, allocations: 3.984 kB / 0.7303 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.6203, allocations: 57.56 kB / 0.7303 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.6204, allocations: 51.77 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6205, allocations: 0 / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6205, allocations: 0 / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.6205, allocations: 0 / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007733/0.6213, allocations: 385.3 kB / 0.7307 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6213, allocations: 8.031 kB / 0.7308 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.6214, allocations: 8.844 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.6215, allocations: 176.2 kB / 0.7309 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.6216, allocations: 4.375 kB / 0.7309 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.6216, allocations: 12.36 kB / 0.7309 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.6218, allocations: 66.23 kB / 0.731 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6218, allocations: 4.188 kB / 0.731 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.6218, allocations: 7.938 kB / 0.731 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6219, allocations: 0 / 0.731 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.6221, allocations: 67.88 kB / 0.7311 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.6227, allocations: 304.8 kB / 0.7314 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.6232, allocations: 122.6 kB / 0.7315 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.6233, allocations: 40.95 kB / 0.7315 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.6233, allocations: 7.938 kB / 0.7315 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.6236, allocations: 87.27 kB / 0.7316 GB, free: 8.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.6236, allocations: 0 / 0.7316 GB, free: 8.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000464/0.6241, allocations: 137.9 kB / 0.7318 GB, free: 7.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.6241, allocations: 55.34 kB / 0.7318 GB, free: 7.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.6242, allocations: 125.8 kB / 0.7319 GB, free: 7.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.6243, allocations: 29.7 kB / 0.732 GB, free: 7.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.6244, allocations: 96.05 kB / 0.732 GB, free: 7.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.6244, allocations: 19.73 kB / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.6244, allocations: 21.7 kB / 0.7321 GB, free: 7.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6246, allocations: 322.8 kB / 0.7324 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.6247, allocations: 35.97 kB / 0.7324 GB, free: 7.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.6248, allocations: 63.41 kB / 0.7325 GB, free: 7.141 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.6251, allocations: 91.33 kB / 0.7326 GB, free: 7.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6251, allocations: 0 / 0.7326 GB, free: 7.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002887/0.6254, allocations: 125.6 kB / 0.7327 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6254, allocations: 4 kB / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6254, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6254, allocations: 7.938 kB / 0.7327 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.6255, allocations: 15.98 kB / 0.7327 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6255, allocations: 8.062 kB / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.6256, allocations: 20.02 kB / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.6257, allocations: 4 kB / 0.7328 GB, free: 6.852 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001273/0.6258, allocations: 117.8 kB / 0.7329 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.6258, allocations: 7.891 kB / 0.7329 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.6259, allocations: 12.38 kB / 0.7329 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6259, allocations: 3.984 kB / 0.7329 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.6259, allocations: 0 / 0.7329 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6259, allocations: 3.938 kB / 0.7329 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.6265, allocations: 374.5 kB / 0.7332 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6265, allocations: 4 kB / 0.7333 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.6266, allocations: 4 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.6266, allocations: 4 kB / 0.7333 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.6266, allocations: 7.984 kB / 0.7333 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.6267, allocations: 8 kB / 0.7333 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6267, allocations: 4.5 kB / 0.7333 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.627, allocations: 211.3 kB / 0.7335 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.6271, allocations: 89.03 kB / 0.7336 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.6271, allocations: 0 / 0.7336 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6272, allocations: 23.92 kB / 0.7336 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.6273, allocations: 7.984 kB / 0.7336 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.6273, allocations: 3.938 kB / 0.7336 GB, free: 5.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.699e-05/0.6274, allocations: 91.27 kB / 0.7337 GB, free: 5.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6274, allocations: 4 kB / 0.7337 GB, free: 5.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002344/0.6276, allocations: 19.91 kB / 0.7337 GB, free: 5.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001915/0.6278, allocations: 99.25 kB / 0.7338 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.6281, allocations: 83.95 kB / 0.7339 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6281, allocations: 0 / 0.7339 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.6283, allocations: 47.91 kB / 0.7339 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.6286, allocations: 7.984 kB / 0.7339 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.6292, allocations: 198.8 kB / 0.7341 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.6296, allocations: 0.6848 MB / 0.7348 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.6296, allocations: 11.84 kB / 0.7348 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.6296, allocations: 11.44 kB / 0.7348 GB, free: 4.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.6296, allocations: 4 kB / 0.7348 GB, free: 4.566 MB / 0.545 GB Notification: Performance of Templates: time 0.003429/0.6331, allocations: 0.7843 MB / 0.7356 GB, free: 3.793 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) Environment - environmentSimulation: