Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.528/2.528, allocations: 287.5 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 184.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.000936, allocations: 94.55 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 21.41 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9502/1.169, allocations: 138.5 MB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.169, allocations: 76.92 kB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01121/1.181, allocations: 2.495 MB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/1.181, allocations: 0 / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.756e-06/1.181, allocations: 3.875 kB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001021/1.182, allocations: 439.5 kB / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.182, allocations: 7.719 kB / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.182, allocations: 12.53 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/1.182, allocations: 179.1 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/1.182, allocations: 4.344 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/1.182, allocations: 15.41 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/1.183, allocations: 113.7 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.183, allocations: 192 / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/1.183, allocations: 3.938 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/1.183, allocations: 0 / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/1.184, allocations: 115.2 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/1.185, allocations: 389.7 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/1.186, allocations: 105.1 kB / 1.118 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/1.186, allocations: 76.64 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/1.186, allocations: 0 / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006473/1.187, allocations: 127.6 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 3.587e-06/1.187, allocations: 0 / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.001674/1.189, allocations: 250.4 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.189, allocations: 51.41 kB / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/1.189, allocations: 128.7 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/1.189, allocations: 32.58 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.189, allocations: 96.58 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/1.19, allocations: 27.92 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/1.19, allocations: 7.375 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.19, allocations: 323.4 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/1.19, allocations: 97.69 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/1.191, allocations: 120.4 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/1.192, allocations: 205.7 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.192, allocations: 0 / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001404/1.193, allocations: 292.4 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/1.193, allocations: 38.2 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.193, allocations: 0 / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.193, allocations: 3.844 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/1.194, allocations: 31.58 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.194, allocations: 0 / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/1.194, allocations: 61.7 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/1.195, allocations: 7.75 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002354/1.195, allocations: 139 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/1.195, allocations: 10.5 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/1.196, allocations: 195.6 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.196, allocations: 0 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.196, allocations: 3.438 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.196, allocations: 0 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/1.198, allocations: 478.8 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.198, allocations: 0 / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/1.198, allocations: 25.5 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.198, allocations: 0 / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/1.198, allocations: 2.703 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.198, allocations: 1.344 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.198, allocations: 3.938 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.199, allocations: 286.7 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/1.199, allocations: 81.02 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/1.199, allocations: 7.188 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/1.2, allocations: 20.66 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.2, allocations: 28.3 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.2, allocations: 5.109 kB / 1.121 GB, free: 28.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001079/1.2, allocations: 96.62 kB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.62e-07/1.2, allocations: 0 / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006539/1.201, allocations: 36.86 kB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.trigger,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/1.201, allocations: 121.4 kB / 1.122 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.202, allocations: 253.7 kB / 1.122 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.202, allocations: 0 / 1.122 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/1.203, allocations: 78.55 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/1.203, allocations: 17.27 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/1.204, allocations: 216.6 kB / 1.122 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/1.205, allocations: 0.7013 MB / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000124/1.205, allocations: 7.719 kB / 1.123 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/1.205, allocations: 11.31 kB / 1.123 GB, free: 27.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.625e-06/1.205, allocations: 0 / 1.123 GB, free: 27.57 MB / 0.698 GB Notification: Performance of Templates: time 0.00868/1.214, allocations: 1.664 MB / 1.125 GB, free: 27.43 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)