Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001399/0.001398, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.83 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4124, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002015/0.4145, allocations: 0.776 MB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.4161, allocations: 1.26 MB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.4162, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.4162, allocations: 7.875 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.94e-05/0.4163, allocations: 19.91 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.4172, allocations: 282 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.4175, allocations: 271.6 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4176, allocations: 20.16 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.4178, allocations: 99.86 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.4179, allocations: 75.77 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.418, allocations: 24 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-05/0.4181, allocations: 35.98 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.4181, allocations: 15.94 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.4182, allocations: 87.73 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.4185, allocations: 219.7 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4185, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4185, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.4185, allocations: 0 / 1.071 GB, free: 7.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006102/0.4192, allocations: 494.5 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4192, allocations: 8.031 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.4193, allocations: 16.84 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.4195, allocations: 180.2 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4195, allocations: 12.38 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.4195, allocations: 16.36 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.4197, allocations: 54.23 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4197, allocations: 3.938 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4197, allocations: 4 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4197, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.392e-05/0.4198, allocations: 27.92 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.4204, allocations: 416.5 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.244e-05/0.4204, allocations: 30.56 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.4205, allocations: 16.86 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4205, allocations: 8.078 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.4207, allocations: 103.1 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 2.956e-06/0.4207, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003438/0.421, allocations: 137.5 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4211, allocations: 55.41 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4212, allocations: 135.5 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.4212, allocations: 37.7 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.4213, allocations: 96.2 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.4214, allocations: 19.72 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.4215, allocations: 69.66 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4216, allocations: 322.8 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.4218, allocations: 91.94 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.422, allocations: 137.9 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.4223, allocations: 238.3 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4223, allocations: 0 / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005802/0.4229, allocations: 378.4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.423, allocations: 101.3 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.423, allocations: 4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4231, allocations: 4 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.714e-05/0.4231, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4231, allocations: 7.938 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.4237, allocations: 83.83 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4237, allocations: 19.98 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001338/0.4239, allocations: 137.7 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.4239, allocations: 11.89 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.4239, allocations: 12.38 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4239, allocations: 384 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4239, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4239, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.4241, allocations: 193.5 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4241, allocations: 3.938 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.4241, allocations: 12 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4241, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4242, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4242, allocations: 4 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4242, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.4244, allocations: 140.9 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.4244, allocations: 88.95 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4244, allocations: 0 / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.562e-05/0.4245, allocations: 12 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4245, allocations: 7.984 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.4245, allocations: 4 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.4246, allocations: 101 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4246, allocations: 0 / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002557/0.4248, allocations: 47.98 kB / 1.075 GB, free: 3.109 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001708/0.425, allocations: 100.7 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.4255, allocations: 377.9 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4255, allocations: 4 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.4256, allocations: 35.98 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4259, allocations: 24.25 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.4263, allocations: 207.2 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.4265, allocations: 0.6963 MB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.4266, allocations: 8.438 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.4266, allocations: 11.44 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of SimCode: time 2.194e-06/0.4266, allocations: 4 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.005569/0.4322, allocations: 2.608 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)