Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.4 MB / 303.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 172.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 0.6307 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007507/0.000751, allocations: 100.8 kB / 0.7441 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004943, allocations: 12.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3057, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009973/0.3067, allocations: 386.7 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3082, allocations: 1.173 MB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.3083, allocations: 0 / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3084, allocations: 3.984 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.857e-05/0.3085, allocations: 7.938 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.3091, allocations: 195 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3093, allocations: 131.7 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3094, allocations: 11.98 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.3095, allocations: 63.88 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3096, allocations: 43.88 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.3096, allocations: 8 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.3097, allocations: 23.97 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.3098, allocations: 4 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.3098, allocations: 45.64 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.31, allocations: 108 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.31, allocations: 0 / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.31, allocations: 4 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.31, allocations: 0 / 0.9817 GB, free: 25.41 MB / 0.6198 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.0004953/0.3105, allocations: 406.7 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.3106, allocations: 16.02 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.3106, allocations: 7.906 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3108, allocations: 171 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3108, allocations: 4 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3108, allocations: 8 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.311, allocations: 53.67 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.311, allocations: 7.938 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.311, allocations: 0 / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.311, allocations: 3.938 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.3111, allocations: 12 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3116, allocations: 364.6 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.3116, allocations: 34.58 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.3117, allocations: 24.88 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.3117, allocations: 7.938 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3119, allocations: 79.36 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3119, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002305/0.3121, allocations: 97.58 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3122, allocations: 59.34 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.3123, allocations: 118 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3123, allocations: 37.7 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.3124, allocations: 88.33 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.3124, allocations: 15.8 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.3124, allocations: 8 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.3125, allocations: 318.8 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3126, allocations: 59.97 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3127, allocations: 96.25 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3129, allocations: 107.4 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.3129, allocations: 7.938 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003377/0.3132, allocations: 261.3 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.3133, allocations: 67.39 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3133, allocations: 4 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3133, allocations: 4.188 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.521e-05/0.3133, allocations: 11.94 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3134, allocations: 0 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.3138, allocations: 79.92 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3138, allocations: 8 kB / 0.9843 GB, free: 22.53 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/0.3139, allocations: 131.3 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3139, allocations: 7.906 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.3139, allocations: 8.375 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.314, allocations: 3.938 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.314, allocations: 8 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.314, allocations: 0 / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3141, allocations: 181.6 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3141, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-06/0.3141, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3141, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3141, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3142, allocations: 7.938 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3142, allocations: 0 / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.3143, allocations: 113 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.3143, allocations: 92.98 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3144, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.3144, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.3144, allocations: 11.98 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.3144, allocations: 7.938 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.3145, allocations: 91.27 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3145, allocations: 0 / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002102/0.3147, allocations: 28 kB / 0.9849 GB, free: 21.76 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.3149, allocations: 115.2 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.3152, allocations: 238.7 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3152, allocations: 0 / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.3152, allocations: 24.38 kB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3155, allocations: 20.22 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.3158, allocations: 175.8 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.316, allocations: 0.6809 MB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.316, allocations: 11.92 kB / 0.9862 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.316, allocations: 11.44 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3161, allocations: 0 / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.0039/0.32, allocations: 1.701 MB / 0.9878 GB, free: 18.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)