Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.994/2.994, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001478/0.001478, allocations: 178.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.248/2.248, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.000999/0.0009992, allocations: 96.17 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.000559, allocations: 12.56 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2416, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009594/0.2427, allocations: 398.4 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2444, allocations: 1.165 MB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.2445, allocations: 7.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.2445, allocations: 3.938 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.2446, allocations: 3.938 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008691/0.2455, allocations: 197.3 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2457, allocations: 131.7 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2458, allocations: 11.98 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2459, allocations: 51.89 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2461, allocations: 51.86 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.2461, allocations: 8 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.2462, allocations: 19.98 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.2463, allocations: 7.984 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2463, allocations: 49.64 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2465, allocations: 104 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2465, allocations: 0 / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2466, allocations: 0 / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2466, allocations: 0 / 0.9805 GB, free: 26.15 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.0004804/0.2471, allocations: 410.7 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2471, allocations: 12.02 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.2472, allocations: 11.91 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.2473, allocations: 167 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.2474, allocations: 8 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.2474, allocations: 8 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.2476, allocations: 57.61 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2476, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2476, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2476, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.2477, allocations: 15.98 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.2482, allocations: 360.6 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.2483, allocations: 34.52 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.2484, allocations: 20.94 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2484, allocations: 0 / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.2487, allocations: 79.36 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.023e-06/0.2487, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000312/0.249, allocations: 101.5 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.249, allocations: 63.34 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.2492, allocations: 125.9 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.2492, allocations: 29.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.2493, allocations: 88.33 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2493, allocations: 19.8 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.2493, allocations: 4 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.2494, allocations: 318.8 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.2496, allocations: 59.97 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2499, allocations: 92.75 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.2501, allocations: 115.3 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2501, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005963/0.2507, allocations: 260.9 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.2508, allocations: 71.39 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2508, allocations: 320 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2508, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.075e-05/0.2509, allocations: 8 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2509, allocations: 0 / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.2516, allocations: 79.94 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.2516, allocations: 11.98 kB / 0.983 GB, free: 23.28 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,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 0.0001281/0.2518, allocations: 139.8 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.2518, allocations: 3.906 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.2518, allocations: 12.38 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2519, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2519, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2519, allocations: 480 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.252, allocations: 181.6 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.252, allocations: 0 / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.2521, allocations: 0 / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2521, allocations: 0 / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2521, allocations: 8 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.2521, allocations: 4 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2521, allocations: 7.984 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.2523, allocations: 113 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.2524, allocations: 81.02 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2524, allocations: 0 / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.2525, allocations: 11.92 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.2526, allocations: 7.922 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2526, allocations: 8 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.2526, allocations: 91.27 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2526, allocations: 4 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003109/0.253, allocations: 28 kB / 0.9837 GB, free: 22.5 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,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.00016/0.2531, allocations: 103.2 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.2536, allocations: 246.7 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2536, allocations: 0 / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/0.2537, allocations: 24 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.254, allocations: 24.19 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.2544, allocations: 163.5 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.2546, allocations: 0.6848 MB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.2546, allocations: 11.98 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.2546, allocations: 11.44 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2547, allocations: 0 / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.005668/0.2603, allocations: 1.684 MB / 0.9866 GB, free: 19.51 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)