Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01258/0.01258, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.606/1.606, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.157/3.157, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 12.78 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4184, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0009276/0.4194, allocations: 391.9 kB / 1.075 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.4214, allocations: 1.194 MB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.4215, allocations: 0 / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.4215, allocations: 3.938 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.4216, allocations: 11.91 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.4223, allocations: 199.3 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.4224, allocations: 155.7 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4226, allocations: 8 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4227, allocations: 59.88 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.4228, allocations: 43.88 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.4228, allocations: 11.94 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.4229, allocations: 23.98 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.423, allocations: 15.92 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.4231, allocations: 73.53 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.4233, allocations: 143.6 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4233, allocations: 0 / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4233, allocations: 0 / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4234, allocations: 0 / 1.076 GB, free: 5.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005786/0.4239, allocations: 411.1 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.424, allocations: 8.031 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.4241, allocations: 20.83 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4242, allocations: 164.4 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4243, allocations: 12.38 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.4243, allocations: 8.375 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.4245, allocations: 50.23 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4245, allocations: 192 / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4245, allocations: 11.92 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4245, allocations: 0 / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.4246, allocations: 15.94 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.4252, allocations: 352.7 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.4252, allocations: 42.5 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.4253, allocations: 16.86 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4253, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.4255, allocations: 91.38 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.4255, allocations: 0 / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002423/0.4257, allocations: 101.6 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4258, allocations: 55.41 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.4259, allocations: 117.8 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4259, allocations: 30.08 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.426, allocations: 92.12 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.426, allocations: 19.8 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.4261, allocations: 21.72 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4262, allocations: 326.7 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4263, allocations: 59.97 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4265, allocations: 95.62 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4267, allocations: 151.6 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4267, allocations: 11.94 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004055/0.4271, allocations: 260.8 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.4273, allocations: 67.39 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4273, allocations: 4 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4273, allocations: 0 / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-05/0.4273, allocations: 11.92 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4273, allocations: 0 / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.4277, allocations: 72.06 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.4278, allocations: 15.98 kB / 1.079 GB, free: 2.25 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001289/0.4279, allocations: 129.7 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.428, allocations: 7.906 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.428, allocations: 4.375 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.428, allocations: 4 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.428, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.428, allocations: 3.984 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.4282, allocations: 177.6 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4282, allocations: 0 / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.4282, allocations: 0 / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4282, allocations: 7.938 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4282, allocations: 3.984 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4282, allocations: 4 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4282, allocations: 96 / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.4284, allocations: 116.9 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.4285, allocations: 89.02 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4285, allocations: 0 / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.4285, allocations: 0 / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.4286, allocations: 15.98 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4286, allocations: 4 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.831e-05/0.4287, allocations: 91.27 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4287, allocations: 0 / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.4289, allocations: 28 kB / 1.08 GB, free: 1.48 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.000207/0.4291, allocations: 103.2 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.4295, allocations: 246.8 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4295, allocations: 4.062 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.4296, allocations: 27.98 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4298, allocations: 17.17 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.4302, allocations: 165.4 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4305, allocations: 0.6926 MB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.4305, allocations: 7.781 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.4305, allocations: 11.44 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4305, allocations: 0 / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of Templates: time 0.004544/0.4351, allocations: 1.755 MB / 1.083 GB, free: 14.39 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)