Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001366/0.001367, allocations: 189.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.66 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001906/0.3338, allocations: 0.7761 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3353, allocations: 1.276 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.3354, allocations: 7.938 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.681e-05/0.3355, allocations: 3.938 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.3355, allocations: 7.922 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.3361, allocations: 222.3 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3364, allocations: 215.7 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3365, allocations: 39.91 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3366, allocations: 95.8 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3368, allocations: 91.77 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.3369, allocations: 8 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.337, allocations: 27.98 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.337, allocations: 31.86 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.3371, allocations: 75.69 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3374, allocations: 215.5 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3374, allocations: 4 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3374, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3374, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005817/0.338, allocations: 494.5 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.338, allocations: 8.031 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.3381, allocations: 20.75 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.3387, allocations: 268 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3387, allocations: 16.38 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.3387, allocations: 12.38 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3389, allocations: 131.3 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.339, allocations: 3.938 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.339, allocations: 8 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.339, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.3391, allocations: 51.91 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.3397, allocations: 0.6534 MB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.892e-05/0.3398, allocations: 45.08 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.3398, allocations: 17.84 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.3398, allocations: 7.938 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.34, allocations: 100.9 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.34, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002167/0.3402, allocations: 97.55 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3403, allocations: 89.03 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3404, allocations: 180 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.3405, allocations: 29.7 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.3405, allocations: 115.9 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.3406, allocations: 15.8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3407, allocations: 61.67 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3408, allocations: 326.8 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3409, allocations: 51.97 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3411, allocations: 102.8 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3413, allocations: 174.1 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3413, allocations: 0 / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004262/0.3417, allocations: 276.7 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3418, allocations: 63.39 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3418, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3418, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.011e-05/0.3418, allocations: 4 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3418, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.3421, allocations: 60.09 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.3422, allocations: 15.98 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.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): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.000116/0.3423, allocations: 145.3 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.3423, allocations: 11.84 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.3424, allocations: 12.25 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3424, allocations: 4 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3424, allocations: 0 / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3424, allocations: 3.984 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3426, allocations: 197.6 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3426, allocations: 7.938 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/0.3426, allocations: 3.984 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3426, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3426, allocations: 4 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3426, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3426, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3428, allocations: 121.7 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.3428, allocations: 88.95 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3428, allocations: 0 / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.3429, allocations: 4.375 kB / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3429, allocations: 8.078 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-06/0.3429, allocations: 15.94 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.615e-05/0.343, allocations: 117 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.343, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000252/0.3433, allocations: 35.91 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001402/0.3434, allocations: 115.2 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.3437, allocations: 242.6 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3437, allocations: 0 / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.3438, allocations: 16 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.344, allocations: 31.23 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3444, allocations: 270 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3447, allocations: 0.716 MB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.3447, allocations: 8.875 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.3448, allocations: 15.44 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3448, allocations: 0 / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of Templates: time 0.00436/0.3491, allocations: 1.757 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1)