Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, 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.001834/0.001834, allocations: 198.5 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.492/1.492, 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 3.01/3.01, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.12 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4352, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002328/0.4376, allocations: 0.8008 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.4393, allocations: 1.17 MB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.4394, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.4395, allocations: 3.938 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.4396, allocations: 11.92 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.4401, allocations: 123.4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.4402, allocations: 103.8 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4404, allocations: 19.97 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4405, allocations: 47.83 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.4406, allocations: 39.83 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.4406, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.4407, allocations: 19.98 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.4407, allocations: 11.94 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.4408, allocations: 43.83 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.441, allocations: 103.7 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.441, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.441, allocations: 7.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.441, allocations: 0 / 1.07 GB, free: 8.398 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007008/0.4418, allocations: 419 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4418, allocations: 8.031 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.4419, allocations: 12.84 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.4421, allocations: 160.4 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4421, allocations: 20.34 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.4421, allocations: 8.375 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.4424, allocations: 66.22 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4424, allocations: 192 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.4424, allocations: 7.922 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4424, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.4426, allocations: 47.89 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.4433, allocations: 344.6 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.4435, allocations: 66.55 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.4436, allocations: 28.97 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.4436, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.4439, allocations: 83.36 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.4439, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004654/0.4443, allocations: 141.6 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4444, allocations: 67.33 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4445, allocations: 113.8 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.4445, allocations: 29.7 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.4446, allocations: 99.97 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.4447, allocations: 15.81 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.4447, allocations: 37.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4449, allocations: 322.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4451, allocations: 51.97 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.4452, allocations: 88.25 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.4455, allocations: 150.2 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4456, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004698/0.446, allocations: 207.1 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.4461, allocations: 37.7 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4461, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4461, allocations: 8.125 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4462, allocations: 15.92 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4463, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4465, allocations: 35.89 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4465, allocations: 12 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001253/0.4466, allocations: 129.7 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.4467, allocations: 11.91 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.4467, allocations: 8.375 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4467, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4467, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4467, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.4472, allocations: 378.4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4473, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.4473, allocations: 11.98 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4473, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4474, allocations: 4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4474, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4474, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.4477, allocations: 203.3 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.4478, allocations: 92.95 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.4478, allocations: 7.922 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.4479, allocations: 8.062 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.4479, allocations: 15.92 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.448, allocations: 4 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.448, allocations: 95.75 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.448, allocations: 0 / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000265/0.4483, allocations: 24 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002159/0.4485, allocations: 111.2 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.4489, allocations: 171.3 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4489, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4491, allocations: 47.89 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4494, allocations: 16.23 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.4498, allocations: 172.2 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4501, allocations: 0.6887 MB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.4501, allocations: 11.78 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.4502, allocations: 19.38 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4502, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.004395/0.4546, allocations: 1.328 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)