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.TriggeredTrapezoid.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.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009515, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00864/0.00864, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.817/1.817, allocations: 205.4 MB / 222.5 MB, free: 5.781 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.741/1.741, allocations: 252 MB / 0.5105 GB, free: 4.586 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.0006676/0.0006679, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.712, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001682/0.7137, allocations: 1.104 MB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005463/0.7143, allocations: 236.2 kB / 0.73 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.7143, allocations: 4 kB / 0.7301 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.7143, allocations: 3.938 kB / 0.7301 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.7144, allocations: 3.938 kB / 0.7301 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.7147, allocations: 35.95 kB / 0.7301 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.7148, allocations: 67.78 kB / 0.7302 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.715, allocations: 4 kB / 0.7302 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.7151, allocations: 31.84 kB / 0.7302 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.7151, allocations: 31.89 kB / 0.7302 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.7152, allocations: 4 kB / 0.7302 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.7152, allocations: 4 kB / 0.7302 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.7152, allocations: 15.97 kB / 0.7302 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.7153, allocations: 49.56 kB / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.7154, allocations: 53.8 kB / 0.7303 GB, free: 9.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7154, allocations: 4 kB / 0.7303 GB, free: 9.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7154, allocations: 0 / 0.7303 GB, free: 9.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7155, allocations: 4 kB / 0.7304 GB, free: 9.574 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006435/0.7161, allocations: 363.3 kB / 0.7307 GB, free: 9.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7162, allocations: 15.95 kB / 0.7307 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.7162, allocations: 4.938 kB / 0.7307 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.7163, allocations: 180.2 kB / 0.7309 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.7164, allocations: 384 / 0.7309 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.7164, allocations: 8.375 kB / 0.7309 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.7167, allocations: 74.14 kB / 0.731 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7167, allocations: 192 / 0.731 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.7167, allocations: 7.938 kB / 0.731 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.7167, allocations: 0 / 0.731 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.7169, allocations: 51.95 kB / 0.731 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.7174, allocations: 284.9 kB / 0.7313 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.7176, allocations: 74.47 kB / 0.7314 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.7177, allocations: 40.89 kB / 0.7314 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.7178, allocations: 4 kB / 0.7314 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.7181, allocations: 103.3 kB / 0.7315 GB, free: 8.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.7181, allocations: 3.938 kB / 0.7315 GB, free: 8.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005087/0.7186, allocations: 173.6 kB / 0.7317 GB, free: 8.039 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.7187, allocations: 59.41 kB / 0.7317 GB, free: 7.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.7188, allocations: 121.7 kB / 0.7319 GB, free: 7.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7188, allocations: 25.7 kB / 0.7319 GB, free: 7.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.7188, allocations: 88.2 kB / 0.732 GB, free: 7.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.7189, allocations: 15.81 kB / 0.732 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.7189, allocations: 17.7 kB / 0.732 GB, free: 7.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.719, allocations: 318.8 kB / 0.7323 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.7191, allocations: 31.92 kB / 0.7323 GB, free: 7.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.7193, allocations: 45.69 kB / 0.7324 GB, free: 7.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.7194, allocations: 65.7 kB / 0.7324 GB, free: 7.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.7195, allocations: 3.938 kB / 0.7324 GB, free: 7.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002523/0.7197, allocations: 113.5 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7197, allocations: 8 kB / 0.7326 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7197, allocations: 3.938 kB / 0.7326 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7198, allocations: 0 / 0.7326 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.7199, allocations: 16.41 kB / 0.7326 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7199, allocations: 3.984 kB / 0.7326 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.546e-05/0.72, allocations: 19.94 kB / 0.7326 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-06/0.72, allocations: 8.031 kB / 0.7326 GB, free: 7.027 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.343e-05/0.7201, allocations: 121.8 kB / 0.7327 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.7201, allocations: 11.84 kB / 0.7327 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.7202, allocations: 8.375 kB / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7202, allocations: 0 / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7202, allocations: 0 / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7202, allocations: 4 kB / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.7208, allocations: 434.3 kB / 0.7332 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7209, allocations: 0 / 0.7332 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.7209, allocations: 11.98 kB / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7209, allocations: 0 / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.7209, allocations: 0 / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7209, allocations: 0 / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7209, allocations: 0 / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.7213, allocations: 243.3 kB / 0.7334 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.7214, allocations: 81.02 kB / 0.7335 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.7214, allocations: 4 kB / 0.7335 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7215, allocations: 11.98 kB / 0.7335 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.7216, allocations: 11.98 kB / 0.7335 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.7216, allocations: 4 kB / 0.7335 GB, free: 6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.7217, allocations: 95.2 kB / 0.7336 GB, free: 5.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7217, allocations: 0 / 0.7336 GB, free: 5.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002356/0.7219, allocations: 20 kB / 0.7336 GB, free: 5.887 MB / 0.545 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001724/0.7221, allocations: 95.25 kB / 0.7337 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.7224, allocations: 92.08 kB / 0.7338 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7224, allocations: 0 / 0.7338 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.7225, allocations: 52.05 kB / 0.7338 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.7228, allocations: 19.08 kB / 0.7339 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.7232, allocations: 194.5 kB / 0.734 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.7235, allocations: 0.6848 MB / 0.7347 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.7236, allocations: 4.672 kB / 0.7347 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.7236, allocations: 11.44 kB / 0.7347 GB, free: 4.684 MB / 0.545 GB Notification: Performance of SimCode: time 2.174e-06/0.7236, allocations: 0 / 0.7347 GB, free: 4.684 MB / 0.545 GB Notification: Performance of Templates: time 0.003168/0.7268, allocations: 1.045 MB / 0.7358 GB, free: 3.645 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) Environment - environmentSimulation: