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.001275/0.001275, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.584/1.584, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 62.59 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4734, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002363/0.4758, allocations: 0.6976 MB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.4777, allocations: 1.27 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.4778, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.4779, allocations: 3.938 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.478, allocations: 19.8 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.4789, allocations: 305.1 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.4793, allocations: 267.7 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4794, allocations: 24.12 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.4796, allocations: 103.8 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.4797, allocations: 79.72 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.4798, allocations: 24 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4799, allocations: 35.98 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.4799, allocations: 11.98 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.4801, allocations: 83.75 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.4804, allocations: 223.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.4804, allocations: 4 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4804, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4805, allocations: 3.984 kB / 1.071 GB, free: 7.301 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.0007687/0.4812, allocations: 488.4 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4813, allocations: 16.03 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.4814, allocations: 12.84 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4815, allocations: 174.1 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.4816, allocations: 12.36 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.4816, allocations: 16.38 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4817, allocations: 58.17 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4818, allocations: 7.938 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4818, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4818, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.4819, allocations: 19.98 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.4825, allocations: 416.5 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.143e-05/0.4826, allocations: 34.5 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.4827, allocations: 20.94 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4827, allocations: 8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.4829, allocations: 95.27 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.4829, allocations: 0 / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003464/0.4832, allocations: 141.4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.4833, allocations: 63.39 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4835, allocations: 133.7 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.4835, allocations: 33.7 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.4836, allocations: 96.14 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.4836, allocations: 23.77 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.4838, allocations: 69.67 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4839, allocations: 322.8 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.4841, allocations: 87.94 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.4844, allocations: 134 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.4847, allocations: 235 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4847, allocations: 3.938 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006285/0.4853, allocations: 378.5 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.4854, allocations: 97.09 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4854, allocations: 0 / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4855, allocations: 4 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.664e-05/0.4855, allocations: 8 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4855, allocations: 3.938 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.4861, allocations: 88.02 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.4861, allocations: 19.98 kB / 1.074 GB, free: 3.711 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.0001268/0.4862, allocations: 125.8 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.4863, allocations: 11.89 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.4863, allocations: 12.38 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4863, allocations: 0 / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4864, allocations: 4 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4864, allocations: 0 / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.4866, allocations: 201.5 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4866, allocations: 4 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.4866, allocations: 3.938 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4866, allocations: 384 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4866, allocations: 4 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4866, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4866, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.4868, allocations: 148.8 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.4869, allocations: 88.94 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.487, allocations: 8 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.487, allocations: 0 / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.487, allocations: 11.98 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4871, allocations: 4 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.4871, allocations: 101.1 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4871, allocations: 0 / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002626/0.4874, allocations: 40 kB / 1.075 GB, free: 2.863 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.0002209/0.4876, allocations: 111.8 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.4882, allocations: 369.9 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4882, allocations: 0 / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.4883, allocations: 39.92 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4885, allocations: 39.34 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.489, allocations: 182.9 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4893, allocations: 0.6926 MB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.4894, allocations: 12.44 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4894, allocations: 11.44 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.4894, allocations: 3.938 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of Templates: time 0.006241/0.4957, allocations: 2.62 MB / 1.079 GB, free: 14.73 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)