Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, 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.002468/0.002468, allocations: 192.7 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.387 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: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 62.52 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3675, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002435/0.37, allocations: 0.6508 MB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3718, allocations: 1.188 MB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.3719, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.3719, allocations: 3.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/0.3721, allocations: 19.8 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.3729, allocations: 218.4 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.3732, allocations: 183.8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3733, allocations: 8 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3735, allocations: 67.88 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3736, allocations: 47.88 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.3737, allocations: 16 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3738, allocations: 39.97 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3738, allocations: 19.86 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.3739, allocations: 47.84 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3742, allocations: 159.6 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3742, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3742, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3742, allocations: 0 / 1.071 GB, free: 7.73 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.0006409/0.3749, allocations: 443 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3749, allocations: 8.031 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.375, allocations: 12.84 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3751, allocations: 164.4 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3752, allocations: 8.375 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3752, allocations: 16.36 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3753, allocations: 46.23 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3754, allocations: 192 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3754, allocations: 7.938 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3754, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.3754, allocations: 23.92 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.376, allocations: 356.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.144e-05/0.3761, allocations: 38.5 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.3761, allocations: 16.86 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.3762, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.3764, allocations: 87.38 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3764, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002846/0.3767, allocations: 101.6 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3767, allocations: 59.41 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3768, allocations: 117.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.3769, allocations: 29.7 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.377, allocations: 96.03 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.377, allocations: 15.89 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3771, allocations: 50 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3772, allocations: 326.8 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3774, allocations: 59.97 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3775, allocations: 92.2 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.3778, allocations: 159.6 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3778, allocations: 4 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004368/0.3782, allocations: 260.8 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/0.3783, allocations: 67.39 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3783, allocations: 4 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3783, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.858e-05/0.3784, allocations: 7.938 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3784, allocations: 0 / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.3788, allocations: 59.95 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.3788, allocations: 12 kB / 1.073 GB, free: 4.727 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,xor1.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.000123/0.3789, allocations: 136 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.379, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.379, allocations: 12.38 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.379, allocations: 4 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.379, allocations: 4.062 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.379, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.3792, allocations: 181.5 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3792, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.3792, allocations: 3.938 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3792, allocations: 4 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3792, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3792, allocations: 96 / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3793, allocations: 3.938 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3794, allocations: 117 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3795, allocations: 81.02 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3795, allocations: 7.984 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.474e-05/0.3795, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3796, allocations: 4 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3796, allocations: 7.984 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.3796, allocations: 87.28 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.603e-06/0.3797, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002503/0.3799, allocations: 39.92 kB / 1.074 GB, free: 3.949 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,xor1.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.0002188/0.3801, allocations: 103.7 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.3805, allocations: 250.6 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3805, allocations: 0 / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.3806, allocations: 27.98 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3809, allocations: 20.23 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.3813, allocations: 167.2 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.3816, allocations: 0.6807 MB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.3816, allocations: 11.77 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3817, allocations: 15.44 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3817, allocations: 0 / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.005244/0.3869, allocations: 1.855 MB / 1.077 GB, free: 0.7656 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)