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.ZeroCrossing.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.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01169/0.01169, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001888/0.001888, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.697/1.697, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.757/1.757, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001443/0.001443, allocations: 67.91 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, allocations: 104.7 MB / 0.8281 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.003829/0.3241, allocations: 1.536 MB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.3249, allocations: 275.9 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.325, allocations: 4 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.325, allocations: 11.88 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3251, allocations: 11.88 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3254, allocations: 43.88 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3255, allocations: 95.7 kB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3257, allocations: 24.2 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3258, allocations: 35.91 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.3259, allocations: 39.84 kB / 0.8301 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.326, allocations: 12 kB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.326, allocations: 8 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.326, allocations: 31.83 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.3261, allocations: 39.8 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3263, allocations: 95.59 kB / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3263, allocations: 0 / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3263, allocations: 0 / 0.8303 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3263, allocations: 0 / 0.8303 GB, free: 13.96 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008205/0.3271, allocations: 417.7 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3272, allocations: 12.03 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.3273, allocations: 12.84 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3274, allocations: 180.2 kB / 0.8308 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3275, allocations: 4.375 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3275, allocations: 8.375 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.3278, allocations: 98.19 kB / 0.831 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3278, allocations: 4.188 kB / 0.831 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3279, allocations: 7.922 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3279, allocations: 7.938 kB / 0.831 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.3282, allocations: 87.91 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.329, allocations: 364.5 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.3295, allocations: 126.6 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.3296, allocations: 64.75 kB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3297, allocations: 0 / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.3301, allocations: 111.2 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3301, allocations: 0 / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0006701/0.3308, allocations: 197.5 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.3309, allocations: 59.33 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.331, allocations: 124.9 kB / 0.8321 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.331, allocations: 33.7 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.3311, allocations: 96.12 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.3312, allocations: 31.55 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3312, allocations: 29.72 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3314, allocations: 334.7 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3316, allocations: 51.95 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.3318, allocations: 90.33 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.3321, allocations: 123.3 kB / 0.8328 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3321, allocations: 0 / 0.8328 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004108/0.3325, allocations: 165.5 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3326, allocations: 8 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3326, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3326, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3327, allocations: 27.91 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3328, allocations: 7.938 kB / 0.833 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3329, allocations: 24.02 kB / 0.833 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3329, allocations: 7.984 kB / 0.833 GB, free: 10.86 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: 13 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001174/0.333, allocations: 125.8 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.333, allocations: 7.906 kB / 0.8332 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.3335, allocations: 161.9 kB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3335, allocations: 4 kB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3335, allocations: 0 / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3335, allocations: 0 / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.3342, allocations: 442.8 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3342, allocations: 0 / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3343, allocations: 23.97 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3343, allocations: 0 / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3343, allocations: 4 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3343, allocations: 4 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.3343, allocations: 7.875 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.3348, allocations: 259.2 kB / 0.834 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3348, allocations: 88.95 kB / 0.8341 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3349, allocations: 4 kB / 0.8341 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.335, allocations: 19.97 kB / 0.8341 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.3351, allocations: 23.91 kB / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3351, allocations: 4 kB / 0.8342 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.659e-05/0.3352, allocations: 95.27 kB / 0.8343 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3352, allocations: 0 / 0.8343 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002473/0.3355, allocations: 20 kB / 0.8343 GB, free: 9.484 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: 8 (zeroCrossing.y,$whenCondition2,$whenCondition1,booPul1.pulseStart,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 (11): * Single equations (assignments): 9 * 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.0001826/0.3357, allocations: 107.2 kB / 0.8344 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.3361, allocations: 127.8 kB / 0.8345 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3361, allocations: 4 kB / 0.8345 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.3363, allocations: 64.08 kB / 0.8346 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3366, allocations: 15.98 kB / 0.8346 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.3372, allocations: 207.1 kB / 0.8348 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3376, allocations: 0.7039 MB / 0.8355 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.3376, allocations: 4.562 kB / 0.8355 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.3377, allocations: 19.42 kB / 0.8355 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.3377, allocations: 0 / 0.8355 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of Templates: time 0.00447/0.3422, allocations: 1.42 MB / 0.8369 GB, free: 6.77 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)