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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, 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.0008995/0.0008996, allocations: 179.6 kB / 326.5 MB, free: 2.688 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.929/1.929, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0009827/0.0009831, allocations: 84.55 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 12.41 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.275, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002032/0.2771, allocations: 1.162 MB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.2777, allocations: 217 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.2778, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.2779, allocations: 7.938 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.278, allocations: 19.84 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.2782, allocations: 19.98 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2784, allocations: 75.72 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2785, allocations: 16.45 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.2786, allocations: 27.86 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.2787, allocations: 35.83 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2787, allocations: 8 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.2787, allocations: 4 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.2788, allocations: 7.922 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.2788, allocations: 31.86 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.279, allocations: 51.83 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.279, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.279, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.279, allocations: 0 / 0.8984 GB, free: 66.45 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006916/0.2797, allocations: 407.2 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.2798, allocations: 8.031 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.2798, allocations: 12.78 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.28, allocations: 188.1 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.28, allocations: 4.375 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2801, allocations: 12.38 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2802, allocations: 62.23 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2802, allocations: 3.938 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2802, allocations: 4 kB / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2802, allocations: 0 / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.2803, allocations: 31.92 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.2808, allocations: 316.6 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.2809, allocations: 46.56 kB / 0.8994 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.281, allocations: 24.94 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.281, allocations: 3.938 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.2812, allocations: 83.38 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.2812, allocations: 0 / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000267/0.2815, allocations: 113.5 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.2815, allocations: 55.41 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2816, allocations: 125.8 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2817, allocations: 33.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.2817, allocations: 92.19 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2817, allocations: 19.8 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.2818, allocations: 21.72 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.2818, allocations: 322.8 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.2819, allocations: 27.98 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.2819, allocations: 51.36 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.466e-05/0.282, allocations: 59.38 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.282, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001351/0.2822, allocations: 113.8 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2822, allocations: 4 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2822, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2822, allocations: 7.938 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.2823, allocations: 4 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2823, allocations: 4 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2824, allocations: 35.91 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2825, allocations: 4 kB / 0.9006 GB, free: 63.95 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.621e-05/0.2826, allocations: 125.7 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.2826, allocations: 4 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.2826, allocations: 12.38 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2826, allocations: 4 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2827, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2827, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2828, allocations: 197.5 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2828, allocations: 4 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.2829, allocations: 3.984 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2829, allocations: 0 / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2829, allocations: 7.984 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2829, allocations: 0 / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2829, allocations: 3.984 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.2831, allocations: 125.8 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.2831, allocations: 85.02 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.2831, allocations: 0 / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2832, allocations: 31.97 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.2833, allocations: 11.98 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2833, allocations: 4 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.2834, allocations: 99.27 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2834, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002133/0.2836, allocations: 23.94 kB / 0.9013 GB, free: 63.12 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001367/0.2837, allocations: 107.2 kB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.284, allocations: 71.98 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.284, allocations: 0 / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.2841, allocations: 35.92 kB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2843, allocations: 20.17 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.2848, allocations: 230.6 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2849, allocations: 0.6887 MB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.285, allocations: 19.44 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.285, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.002724/0.2877, allocations: 1.179 MB / 0.9036 GB, free: 60.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)