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.009233/0.009233, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001767/0.001766, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.787/1.787, allocations: 205.1 MB / 222.6 MB, free: 4.344 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.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.00146/0.00146, allocations: 73.94 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002793/0.247, allocations: 1.462 MB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006687/0.2477, allocations: 232.1 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2478, allocations: 0 / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.2478, allocations: 7.922 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2479, allocations: 11.88 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2481, allocations: 15.98 kB / 0.8298 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2483, allocations: 71.75 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2484, allocations: 16 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.2485, allocations: 27.86 kB / 0.8299 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.2486, allocations: 27.84 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.2486, allocations: 8 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.2486, allocations: 4 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.2486, allocations: 4 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.2487, allocations: 35.84 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2488, allocations: 59.72 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2488, allocations: 0 / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2489, allocations: 0 / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.2489, allocations: 4 kB / 0.83 GB, free: 14.22 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006123/0.2495, allocations: 379.3 kB / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2495, allocations: 8.031 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.2496, allocations: 8.844 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.2498, allocations: 180.1 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2499, allocations: 4.375 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2499, allocations: 8.359 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2502, allocations: 66.23 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2502, allocations: 192 / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2502, allocations: 7.938 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2502, allocations: 4 kB / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.2504, allocations: 55.81 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.2509, allocations: 312.7 kB / 0.831 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.2513, allocations: 94.59 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.2514, allocations: 32.95 kB / 0.8311 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.2514, allocations: 4 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.2516, allocations: 75.38 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2517, allocations: 0 / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003841/0.252, allocations: 129.5 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2521, allocations: 55.41 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.2522, allocations: 121.8 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2522, allocations: 25.7 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.2523, allocations: 92.12 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2524, allocations: 15.81 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.2524, allocations: 29.7 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2525, allocations: 322.8 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.2526, allocations: 23.98 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2528, allocations: 63.72 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.2529, allocations: 79.33 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.253, allocations: 4 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002392/0.2532, allocations: 117.4 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2532, allocations: 8 kB / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2532, allocations: 0 / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2532, allocations: 4 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.2533, allocations: 11.98 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2533, allocations: 320 / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.2534, allocations: 20.02 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.2534, allocations: 4 kB / 0.8323 GB, free: 11.65 MB / 0.6544 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.0001078/0.2536, allocations: 125.7 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.2536, allocations: 7.906 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.2536, allocations: 12.36 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2536, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2536, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2536, allocations: 4 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.2541, allocations: 370.5 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2541, allocations: 3.938 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.2541, allocations: 8 kB / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2541, allocations: 0 / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2541, allocations: 7.922 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2542, allocations: 3.938 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2542, allocations: 0 / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.2544, allocations: 195.4 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.2545, allocations: 89 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2545, allocations: 0 / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2546, allocations: 15.92 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.2547, allocations: 7.984 kB / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2547, allocations: 4 kB / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.2548, allocations: 99.27 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2548, allocations: 0 / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000228/0.255, allocations: 12 kB / 0.8332 GB, free: 10.6 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: 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.000119/0.2551, allocations: 103.7 kB / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.2554, allocations: 67.95 kB / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2554, allocations: 192 / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2555, allocations: 43.91 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2558, allocations: 15.92 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.2563, allocations: 177.5 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2565, allocations: 0.6961 MB / 0.8343 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.2566, allocations: 7.859 kB / 0.8343 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.2566, allocations: 11.44 kB / 0.8343 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2566, allocations: 0 / 0.8343 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of Templates: time 0.003122/0.2597, allocations: 0.9496 MB / 0.8352 GB, free: 8.48 MB / 0.6544 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)