Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001318, 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.00212/0.00212, allocations: 197 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.601/1.601, allocations: 222.9 MB / 239.8 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 3.035/3.035, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 65.33 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4165, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001927/0.4184, allocations: 0.724 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.4199, allocations: 1.217 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.42, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.42, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.4201, allocations: 7.938 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.4207, allocations: 206.5 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4208, allocations: 143.8 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.4209, allocations: 8 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.421, allocations: 67.81 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.4211, allocations: 51.86 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.4212, allocations: 8 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.4213, allocations: 23.98 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.4213, allocations: 7.922 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.4214, allocations: 47.84 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.4216, allocations: 147.6 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4216, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4216, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4216, allocations: 4 kB / 1.07 GB, free: 8.281 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.000525/0.4222, allocations: 435 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4222, allocations: 12.03 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.4223, allocations: 12.83 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.4224, allocations: 168.3 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.4224, allocations: 4.375 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.4225, allocations: 12.38 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4226, allocations: 50.23 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4226, allocations: 192 / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4226, allocations: 7.938 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4226, allocations: 0 / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.4227, allocations: 12 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.4232, allocations: 352.7 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.4232, allocations: 42.44 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.4233, allocations: 20.86 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.4233, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.4235, allocations: 83.44 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.4235, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002594/0.4238, allocations: 105.5 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.4238, allocations: 55.34 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.4239, allocations: 117.8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.424, allocations: 29.7 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.424, allocations: 104 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.4241, allocations: 11.89 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.4242, allocations: 49.69 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.4243, allocations: 322.8 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.4244, allocations: 59.97 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4246, allocations: 96.2 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.4248, allocations: 159.6 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4248, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004258/0.4252, allocations: 260.8 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.4253, allocations: 71.52 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4253, allocations: 7.984 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4253, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.384e-05/0.4253, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4254, allocations: 480 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.4257, allocations: 59.77 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.4258, allocations: 16 kB / 1.073 GB, free: 5.285 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,and1.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.0001014/0.4259, allocations: 137.6 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.4259, allocations: 4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.4259, allocations: 4.375 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4259, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.426, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.426, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.4261, allocations: 185.5 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4261, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.4261, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4261, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.4261, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4261, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4261, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.4263, allocations: 117 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.4263, allocations: 85.02 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4264, allocations: 0 / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.4264, allocations: 7.922 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4264, allocations: 8 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.4264, allocations: 4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.4265, allocations: 91.27 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4265, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002385/0.4267, allocations: 28 kB / 1.073 GB, free: 4.523 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,and1.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.0001634/0.4269, allocations: 107.2 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.4273, allocations: 242.6 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4273, allocations: 4.25 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.4273, allocations: 31.94 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4276, allocations: 15.98 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.4279, allocations: 160.5 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.4282, allocations: 0.6929 MB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.4282, allocations: 7.781 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.4282, allocations: 11.44 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4282, allocations: 3.938 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of Templates: time 0.004446/0.4327, allocations: 1.755 MB / 1.076 GB, free: 1.441 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)