Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001181/0.001181, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 17.62 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009108/0.2335, allocations: 402.4 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2351, allocations: 1.162 MB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.2352, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.2352, allocations: 3.938 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.2353, allocations: 11.92 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.236, allocations: 202.3 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.2362, allocations: 131.8 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.2363, allocations: 4 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2364, allocations: 63.88 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.2365, allocations: 43.88 kB / 0.7893 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2366, allocations: 8 kB / 0.7893 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.2367, allocations: 23.92 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.2367, allocations: 4 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.2368, allocations: 45.7 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.2369, allocations: 104 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2369, allocations: 0 / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2369, allocations: 0 / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2369, allocations: 0 / 0.7894 GB, free: 9.746 MB / 0.6075 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.0004933/0.2374, allocations: 410.6 kB / 0.7898 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2375, allocations: 8.031 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.2376, allocations: 11.91 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2377, allocations: 175 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.2377, allocations: 4 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.2378, allocations: 16 kB / 0.79 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2379, allocations: 45.69 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2379, allocations: 0 / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2379, allocations: 11.92 kB / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2379, allocations: 0 / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.238, allocations: 15.94 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.2385, allocations: 356.6 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.942e-05/0.2386, allocations: 42.5 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.2386, allocations: 16.84 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.2386, allocations: 0 / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.2388, allocations: 83.41 kB / 0.7906 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2388, allocations: 0 / 0.7906 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002265/0.239, allocations: 97.58 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.2391, allocations: 63.38 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.2392, allocations: 118 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.2392, allocations: 33.7 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.2393, allocations: 88.33 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.2393, allocations: 11.8 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.2393, allocations: 4 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.2394, allocations: 322.8 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2395, allocations: 63.89 kB / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2397, allocations: 92.27 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2398, allocations: 111.4 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2398, allocations: 0 / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003782/0.2402, allocations: 260.9 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.2403, allocations: 71.39 kB / 0.7919 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2403, allocations: 4.469 kB / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2403, allocations: 0 / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.2403, allocations: 7.938 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2403, allocations: 4.297 kB / 0.7919 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.2407, allocations: 71.94 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.2407, allocations: 19.92 kB / 0.792 GB, free: 6.871 MB / 0.6075 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,nor1.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.119e-05/0.2408, allocations: 125.7 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.2409, allocations: 7.906 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.2409, allocations: 12.38 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2409, allocations: 4 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2409, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2409, allocations: 3.984 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.2411, allocations: 181.5 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2411, allocations: 0 / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.2411, allocations: 0 / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.2411, allocations: 3.938 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2411, allocations: 4 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2411, allocations: 3.984 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2411, allocations: 4 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2413, allocations: 113 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.2413, allocations: 85.06 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2413, allocations: 4 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.2413, allocations: 0 / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.2414, allocations: 11.98 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2414, allocations: 4 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.2414, allocations: 91.27 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2415, allocations: 4 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002201/0.2417, allocations: 28 kB / 0.7926 GB, free: 6.098 MB / 0.6075 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,nor1.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.0001431/0.2418, allocations: 103.2 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.2421, allocations: 246.7 kB / 0.7929 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2422, allocations: 0 / 0.7929 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.2422, allocations: 23.98 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.2424, allocations: 24.19 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.2427, allocations: 171.3 kB / 0.7932 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2429, allocations: 0.6887 MB / 0.7938 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.243, allocations: 8.281 kB / 0.7938 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.243, allocations: 15.38 kB / 0.7939 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.243, allocations: 0 / 0.7939 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.004262/0.2473, allocations: 1.687 MB / 0.7955 GB, free: 3.078 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) Environment - environmentSimulation: