Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 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.001718/0.001718, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.524/1.524, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 70.67 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4381, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002066/0.4402, allocations: 0.6486 MB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.442, allocations: 1.2 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.442, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.4421, allocations: 3.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.4422, allocations: 7.922 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.4428, allocations: 206.3 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.4431, allocations: 191.6 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4432, allocations: 11.98 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.4433, allocations: 67.89 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.907e-05/0.4434, allocations: 47.86 kB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.4434, allocations: 16 kB / 1.071 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.384e-05/0.4435, allocations: 31.92 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.4436, allocations: 11.94 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.4437, allocations: 55.88 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.4439, allocations: 151.6 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4439, allocations: 4 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.471e-06/0.4439, allocations: 4 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.444, allocations: 0 / 1.071 GB, free: 7.801 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.0006131/0.4446, allocations: 439 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4446, allocations: 8.031 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.4447, allocations: 12.84 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4448, allocations: 168.3 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.4449, allocations: 4.375 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.4449, allocations: 8.375 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.445, allocations: 58.23 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4451, allocations: 192 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4451, allocations: 3.938 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4451, allocations: 3.984 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.4451, allocations: 15.98 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.4457, allocations: 360.6 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.4458, allocations: 34.52 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.4458, allocations: 16.94 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4458, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.446, allocations: 79.36 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.446, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002748/0.4463, allocations: 105.5 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4463, allocations: 55.41 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.4465, allocations: 121.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4465, allocations: 33.7 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.4466, allocations: 88.42 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.4466, allocations: 11.91 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4467, allocations: 49.69 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4469, allocations: 322.8 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.4471, allocations: 63.91 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4472, allocations: 96.19 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4474, allocations: 151.6 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4474, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004558/0.4479, allocations: 264.8 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.448, allocations: 71.33 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.448, allocations: 4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.448, allocations: 64 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.526e-05/0.448, allocations: 8 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.448, allocations: 3.984 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.4484, allocations: 59.97 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.4485, allocations: 11.98 kB / 1.073 GB, free: 4.809 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.0001356/0.4486, allocations: 133.7 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.4486, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.4487, allocations: 12.38 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4487, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4487, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4487, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.4489, allocations: 185.5 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4489, allocations: 4 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-06/0.4489, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4489, allocations: 96 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4489, allocations: 7.938 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4489, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.449, allocations: 3.984 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.4491, allocations: 109 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.4492, allocations: 85 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.4492, allocations: 8 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.4493, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4493, allocations: 3.984 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.4493, allocations: 4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.4494, allocations: 87.28 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4494, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002542/0.4497, allocations: 35.98 kB / 1.074 GB, free: 4.043 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.0002267/0.4499, allocations: 99.78 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.4503, allocations: 254.6 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4503, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.4504, allocations: 27.92 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4506, allocations: 15.98 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.4511, allocations: 170.9 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.4515, allocations: 0.6807 MB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.4515, allocations: 11.77 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.4515, allocations: 11.44 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.4516, allocations: 0 / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.004904/0.4565, allocations: 1.851 MB / 1.077 GB, free: 0.8672 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)