Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002572/0.002572, allocations: 180.2 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.569/2.569, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008894/0.0008892, allocations: 96.38 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 15.8 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 106.3 MB / 0.8991 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001606/0.23, allocations: 1.091 MB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.2305, allocations: 193.5 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.2306, allocations: 3.938 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.2306, allocations: 3.938 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.2307, allocations: 11.92 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2309, allocations: 15.98 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.231, allocations: 59.78 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.2311, allocations: 4 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.2311, allocations: 19.92 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.2312, allocations: 23.89 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.2312, allocations: 4 kB / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.2313, allocations: 0 / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.2313, allocations: 8 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.2313, allocations: 33.64 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.499e-05/0.2314, allocations: 35.92 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2314, allocations: 0 / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2314, allocations: 0 / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2315, allocations: 0 / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005858/0.232, allocations: 383.5 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2321, allocations: 8.031 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.2321, allocations: 8.938 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2323, allocations: 176.2 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2323, allocations: 384 / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.2323, allocations: 4.375 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2325, allocations: 62.16 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2325, allocations: 192 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2325, allocations: 3.938 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2325, allocations: 0 / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.2326, allocations: 23.98 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2331, allocations: 284.9 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2333, allocations: 46.5 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.2333, allocations: 20.92 kB / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.2333, allocations: 0 / 0.9015 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.2335, allocations: 71.39 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.2335, allocations: 0 / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002697/0.2338, allocations: 97.62 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2339, allocations: 55.34 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.234, allocations: 113.8 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.234, allocations: 33.7 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.234, allocations: 84.12 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2341, allocations: 15.81 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.2341, allocations: 4 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.2342, allocations: 314.8 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.2342, allocations: 15.98 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.2343, allocations: 42.5 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.2343, allocations: 15.94 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2343, allocations: 0 / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001554/0.2345, allocations: 85.52 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2345, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2346, allocations: 4 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2346, allocations: 0 / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.2347, allocations: 7.938 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2347, allocations: 3.938 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2348, allocations: 27.92 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2349, allocations: 4 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.357e-05/0.235, allocations: 126.9 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.235, allocations: 7.891 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.235, allocations: 12.38 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.235, allocations: 0 / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2351, allocations: 0 / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2351, allocations: 0 / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2352, allocations: 177.6 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2352, allocations: 0 / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.2353, allocations: 0 / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2353, allocations: 7.938 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2353, allocations: 8 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2353, allocations: 0 / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2353, allocations: 0 / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.2355, allocations: 97.05 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.2355, allocations: 85.02 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2356, allocations: 0 / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2357, allocations: 15.98 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.2358, allocations: 23.95 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.2358, allocations: 0 / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.2359, allocations: 87.28 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2359, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002434/0.2361, allocations: 16 kB / 0.9031 GB, free: 60.86 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001156/0.2363, allocations: 105.4 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.2364, allocations: 49 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2364, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.2365, allocations: 24.12 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2369, allocations: 23.86 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.2373, allocations: 174.6 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2375, allocations: 0.6809 MB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.615e-05/0.2375, allocations: 7.859 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.2376, allocations: 11.44 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2376, allocations: 0 / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.003612/0.2412, allocations: 0.7668 MB / 0.9049 GB, free: 58.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)