Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.343/2.343, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.0014/0.0014, allocations: 178.1 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.531/2.531, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008606/0.0008607, allocations: 82.38 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006388, allocations: 12.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2363, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001909/0.2383, allocations: 1.176 MB / 0.9007 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.2389, allocations: 216.3 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.2389, allocations: 0 / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.239, allocations: 0 / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.2391, allocations: 15.92 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.2393, allocations: 15.92 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.2394, allocations: 51.84 kB / 0.901 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2395, allocations: 19.98 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.2396, allocations: 15.92 kB / 0.901 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.2397, allocations: 27.84 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2397, allocations: 4 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.2397, allocations: 0 / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.2398, allocations: 11.98 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.2398, allocations: 37.64 kB / 0.9011 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.38e-05/0.2399, allocations: 39.8 kB / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2399, allocations: 4 kB / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2399, allocations: 0 / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.24, allocations: 0 / 0.9011 GB, free: 63.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006249/0.2406, allocations: 379.5 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2407, allocations: 12.03 kB / 0.9015 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.2407, allocations: 4.844 kB / 0.9015 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2408, allocations: 168.3 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2409, allocations: 12.36 kB / 0.9017 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2409, allocations: 12.38 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.2412, allocations: 70.22 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2412, allocations: 4.125 kB / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2412, allocations: 3.938 kB / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2412, allocations: 0 / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.2415, allocations: 59.95 kB / 0.9018 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.2422, allocations: 304.7 kB / 0.9021 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.2429, allocations: 126.5 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.243, allocations: 32.97 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.2431, allocations: 0 / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.2434, allocations: 91.34 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.2434, allocations: 4 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006321/0.2441, allocations: 145.5 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2441, allocations: 59.41 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.2442, allocations: 113.8 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2442, allocations: 25.7 kB / 0.9027 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.2443, allocations: 88.14 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.2443, allocations: 23.73 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.2443, allocations: 0 / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.2444, allocations: 323.2 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2446, allocations: 31.97 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2448, allocations: 63.34 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.245, allocations: 35.98 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.245, allocations: 0 / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004164/0.2454, allocations: 129.5 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2455, allocations: 13.5 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2455, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2455, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2456, allocations: 15.98 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2457, allocations: 4 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2458, allocations: 24.02 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2459, allocations: 0 / 0.9034 GB, free: 61.31 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.599e-05/0.246, allocations: 127.8 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.246, allocations: 7.891 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.246, allocations: 12.38 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.2461, allocations: 3.984 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2461, allocations: 0 / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.2461, allocations: 77.11 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.2462, allocations: 8 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.2463, allocations: 19.92 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.2464, allocations: 7.984 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005097/0.2469, allocations: 200.9 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004214/0.2473, allocations: 286.6 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001813/0.2475, allocations: 39.97 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.2476, allocations: 91.27 kB / 0.9042 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of Backend: time 7.82e-07/0.2476, allocations: 0 / 0.9042 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.2482, allocations: 126.4 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005418/0.2487, allocations: 0.6083 MB / 0.9049 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.003793/0.2526, allocations: 0.8379 MB / 0.9058 GB, free: 58.78 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)