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.Nor.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.2 MB / 303.2 MB, free: 8.078 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.001079/0.001079, allocations: 190.4 kB / 371.8 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.763/1.763, allocations: 205.4 MB / 0.6305 GB, free: 9.902 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.000967/0.0009673, allocations: 92.41 kB / 0.7439 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 17.19 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008117/0.2279, allocations: 390.8 kB / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2293, allocations: 1.122 MB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.2293, allocations: 0 / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.2294, allocations: 0 / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.2294, allocations: 15.92 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.23, allocations: 201 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2302, allocations: 79.84 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.2302, allocations: 11.98 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.2303, allocations: 51.95 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.2304, allocations: 47.86 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.2305, allocations: 11.94 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.2305, allocations: 19.98 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2306, allocations: 11.98 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2306, allocations: 41.7 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2307, allocations: 104 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.2307, allocations: 0 / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2307, allocations: 0 / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2307, allocations: 0 / 0.9815 GB, free: 25.45 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.0003466/0.2311, allocations: 406.6 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2311, allocations: 15.95 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.2312, allocations: 30.56 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.2312, allocations: 11.91 kB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.2313, allocations: 171 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2313, allocations: 4 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2314, allocations: 15.98 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.74e-05/0.2315, allocations: 45.69 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.2315, allocations: 0 / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2315, allocations: 3.938 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2315, allocations: 3.938 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.2315, allocations: 19.92 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.2319, allocations: 364.6 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.599e-05/0.232, allocations: 26.58 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.232, allocations: 0 / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.2321, allocations: 87.38 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.2321, allocations: 0 / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.2323, allocations: 105.6 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2324, allocations: 55.41 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.2324, allocations: 114 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.2325, allocations: 29.7 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.2325, allocations: 100.2 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.2325, allocations: 7.891 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.2326, allocations: 8 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.2326, allocations: 326.8 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2327, allocations: 59.91 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.2328, allocations: 97.39 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.233, allocations: 107.4 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.233, allocations: 4 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003257/0.2333, allocations: 265.3 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.2333, allocations: 63.41 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2334, allocations: 0 / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2334, allocations: 7.984 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.776e-05/0.2334, allocations: 7.875 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2334, allocations: 4.312 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.2338, allocations: 80 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2338, allocations: 11.98 kB / 0.9841 GB, free: 22.55 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 7.254e-05/0.2339, allocations: 121.8 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.2339, allocations: 11.91 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.234, allocations: 12.36 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.234, allocations: 0 / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.234, allocations: 0 / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.234, allocations: 4 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.995e-05/0.2341, allocations: 173.6 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2341, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/0.2341, allocations: 12 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2341, allocations: 3.984 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2341, allocations: 3.938 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2341, allocations: 7.984 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2341, allocations: 4 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.2342, allocations: 113 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.2343, allocations: 85.02 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.2343, allocations: 4 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.2343, allocations: 0 / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.2344, allocations: 7.984 kB / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.2344, allocations: 4 kB / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.2344, allocations: 91.27 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2344, allocations: 0 / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002339/0.2347, allocations: 32 kB / 0.9847 GB, free: 21.78 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.0002884/0.235, allocations: 0.6436 MB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.2352, allocations: 246.7 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2352, allocations: 0 / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.2353, allocations: 27.97 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.2354, allocations: 16.95 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.2359, allocations: 0.9993 MB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.236, allocations: 0.6887 MB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.2361, allocations: 4 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.2361, allocations: 19.42 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2361, allocations: 3.938 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.2476, allocations: 2.551 MB / 0.9898 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/0.2478, allocations: 192.4 kB / 0.99 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.718, allocations: 0 / 0.99 GB, free: 16.35 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)