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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008644/0.008644, allocations: 106.2 kB / 15.74 MB, free: 6 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.00137/0.001371, allocations: 199 kB / 16.68 MB, free: 5.918 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.779/1.779, allocations: 205.1 MB / 222.5 MB, free: 4.324 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.65/1.65, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.00139/0.00139, allocations: 75.91 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2786, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.004587/0.2832, allocations: 1.458 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.2842, allocations: 232.2 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.2842, allocations: 0 / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/0.2843, allocations: 3.938 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.2848, allocations: 19.81 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.2851, allocations: 23.91 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2853, allocations: 63.78 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.2855, allocations: 11.98 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2856, allocations: 23.92 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.2858, allocations: 23.91 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2858, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.2858, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.2859, allocations: 23.92 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.286, allocations: 27.88 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.2864, allocations: 63.7 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2864, allocations: 0 / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.22e-06/0.2864, allocations: 0 / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2864, allocations: 3.938 kB / 0.83 GB, free: 14.18 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.001112/0.2875, allocations: 375.3 kB / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 8.675e-05/0.2876, allocations: 8.031 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.2877, allocations: 12.84 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.2881, allocations: 172.2 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.2881, allocations: 4.375 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.2882, allocations: 4.375 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.2885, allocations: 70.2 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2886, allocations: 192 / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2886, allocations: 3.938 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2886, allocations: 4 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.2889, allocations: 51.89 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.29, allocations: 304.7 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.2908, allocations: 98.55 kB / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.2909, allocations: 24.97 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.291, allocations: 7.938 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.2915, allocations: 75.38 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 5.471e-06/0.2915, allocations: 3.984 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005813/0.2921, allocations: 125.7 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.2922, allocations: 59.41 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2924, allocations: 129.6 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2924, allocations: 25.7 kB / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.2925, allocations: 88.14 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.2927, allocations: 19.75 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.2928, allocations: 21.7 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003462/0.2932, allocations: 330.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2933, allocations: 27.98 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2935, allocations: 51.41 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.2938, allocations: 83.33 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.2938, allocations: 4 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003725/0.2942, allocations: 105.5 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.2942, allocations: 8 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2943, allocations: 4.156 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.2943, allocations: 4 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2944, allocations: 19.92 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2944, allocations: 0 / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2946, allocations: 19.92 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2946, allocations: 4 kB / 0.8322 GB, free: 11.62 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001903/0.2948, allocations: 121.8 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.2948, allocations: 3.906 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.2949, allocations: 16.38 kB / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2949, allocations: 0 / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2949, allocations: 0 / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2949, allocations: 0 / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.2957, allocations: 370.4 kB / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2957, allocations: 0 / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.2958, allocations: 4 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2958, allocations: 4 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.2958, allocations: 7.984 kB / 0.8327 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2958, allocations: 0 / 0.8327 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2958, allocations: 3.938 kB / 0.8327 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.2964, allocations: 195.9 kB / 0.8329 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.2964, allocations: 81.09 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.2965, allocations: 4 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2967, allocations: 11.98 kB / 0.833 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.2968, allocations: 15.92 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2968, allocations: 3.938 kB / 0.833 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.156e-05/0.2969, allocations: 99.2 kB / 0.8331 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2969, allocations: 0 / 0.8331 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003748/0.2973, allocations: 11.91 kB / 0.8331 GB, free: 10.59 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0002365/0.2976, allocations: 103.2 kB / 0.8332 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.2981, allocations: 71.89 kB / 0.8333 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.2981, allocations: 4 kB / 0.8333 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2982, allocations: 35.91 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.2987, allocations: 11.98 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.2994, allocations: 166.9 kB / 0.8335 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3, allocations: 0.6844 MB / 0.8342 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.2e-05/0.3001, allocations: 11.84 kB / 0.8342 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.3001, allocations: 11.44 kB / 0.8342 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.3001, allocations: 0 / 0.8342 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of Templates: time 0.006077/0.3062, allocations: 0.9174 MB / 0.8351 GB, free: 8.531 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)