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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 184.6 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008072/0.0008074, allocations: 93.89 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 15.62 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2422, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001583/0.2439, allocations: 1.195 MB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.2443, allocations: 229.8 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.2444, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.2444, allocations: 3.938 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2445, allocations: 11.92 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.2447, allocations: 15.98 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.2448, allocations: 55.8 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2449, allocations: 24.19 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.245, allocations: 19.92 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.2451, allocations: 19.92 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2451, allocations: 4 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.2451, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.2451, allocations: 15.92 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.2452, allocations: 19.86 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.046e-05/0.2453, allocations: 47.84 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2453, allocations: 0 / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2453, allocations: 4 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.2453, allocations: 0 / 0.8984 GB, free: 66.51 MB / 0.6042 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.0005648/0.2459, allocations: 379.3 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2459, allocations: 8.031 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.246, allocations: 8.844 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.2461, allocations: 184.2 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.2461, allocations: 4.375 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.2461, allocations: 8.375 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.2463, allocations: 70.22 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2463, allocations: 4.125 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2464, allocations: 3.938 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2464, allocations: 0 / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2466, allocations: 67.89 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.247, allocations: 304.8 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.2474, allocations: 126.6 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.2475, allocations: 32.95 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2476, allocations: 8 kB / 0.8995 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.2478, allocations: 91.3 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2478, allocations: 0 / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000365/0.2482, allocations: 141.8 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2482, allocations: 55.34 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.2483, allocations: 121.8 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2483, allocations: 29.7 kB / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.2484, allocations: 92.05 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.2484, allocations: 19.78 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.2484, allocations: 21.72 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.2485, allocations: 322.8 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2486, allocations: 31.98 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2487, allocations: 63.41 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2489, allocations: 91.33 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2489, allocations: 0 / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002362/0.2491, allocations: 121.5 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2492, allocations: 7.938 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2492, allocations: 4.094 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2492, allocations: 4 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.2493, allocations: 15.98 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2493, allocations: 8.062 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.2494, allocations: 19.92 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2494, allocations: 7.984 kB / 0.9007 GB, free: 63.83 MB / 0.6042 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 7.259e-05/0.2495, allocations: 123.8 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2495, allocations: 3.906 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.2495, allocations: 12.38 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2495, allocations: 3.938 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2495, allocations: 0.5625 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2495, allocations: 3.938 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.2499, allocations: 374.5 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2499, allocations: 8.062 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.25, allocations: 7.984 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.25, allocations: 4 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.25, allocations: 3.938 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.25, allocations: 3.938 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.25, allocations: 7.938 kB / 0.9013 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.2503, allocations: 207.4 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.2503, allocations: 81.11 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2503, allocations: 0 / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2504, allocations: 27.92 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.2505, allocations: 7.984 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2505, allocations: 0 / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2506, allocations: 91.27 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 4 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000212/0.2508, allocations: 15.91 kB / 0.9017 GB, free: 62.76 MB / 0.6042 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.0001088/0.2509, allocations: 107.2 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2511, allocations: 79.94 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2512, allocations: 0 / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2513, allocations: 48.11 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2515, allocations: 7.984 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.252, allocations: 217.5 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2521, allocations: 0.6906 MB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.2521, allocations: 15.38 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2521, allocations: 0 / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.002197/0.2543, allocations: 0.9815 MB / 0.9038 GB, free: 60.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (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)