Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 179.2 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 0.5777 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008597, allocations: 88.33 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 11.62 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.25, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001627/0.2517, allocations: 1.096 MB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000474/0.2522, allocations: 196.4 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.2523, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.2524, allocations: 7.922 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.2525, allocations: 11.92 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2527, allocations: 15.98 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.2528, allocations: 47.8 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2529, allocations: 11.98 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.2529, allocations: 15.92 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.253, allocations: 19.92 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2531, allocations: 4 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.2531, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2531, allocations: 11.98 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.2531, allocations: 37.62 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.627e-05/0.2532, allocations: 35.88 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2532, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2533, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2533, allocations: 0 / 0.9018 GB, free: 62.27 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.0005346/0.2538, allocations: 371.5 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2539, allocations: 8.031 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2539, allocations: 34.56 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.2539, allocations: 7.938 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2541, allocations: 174.9 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2541, allocations: 11.98 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.2541, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2542, allocations: 53.62 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2542, allocations: 0 / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2542, allocations: 4 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2543, allocations: 0 / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.2543, allocations: 19.98 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.2547, allocations: 284.8 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.844e-05/0.2548, allocations: 54.5 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.2549, allocations: 12.98 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2549, allocations: 4 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.255, allocations: 67.39 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2551, allocations: 0 / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002228/0.2553, allocations: 85.58 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2553, allocations: 67.38 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2554, allocations: 113.8 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2555, allocations: 33.7 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.2555, allocations: 88.05 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2555, allocations: 11.89 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2555, allocations: 4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.2556, allocations: 310.8 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.2556, allocations: 15.98 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.2557, allocations: 38.58 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.2557, allocations: 12 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2557, allocations: 0 / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001102/0.2559, allocations: 77.53 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2559, allocations: 7.938 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2559, allocations: 3.984 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2559, allocations: 4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.256, allocations: 12 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.256, allocations: 0.7031 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.2561, allocations: 27.88 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2561, allocations: 0 / 0.9037 GB, free: 60.05 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,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): 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 7.772e-05/0.2562, allocations: 124.4 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.2562, allocations: 4.094 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.2562, allocations: 12.38 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2563, allocations: 7.938 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2563, allocations: 3.984 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2563, allocations: 0 / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2564, allocations: 177.6 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2564, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.2564, allocations: 7.922 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2565, allocations: 0 / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2565, allocations: 4 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2565, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2565, allocations: 0 / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.2566, allocations: 109 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.2566, allocations: 77.11 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2567, allocations: 7.984 kB / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.2568, allocations: 11.98 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.2568, allocations: 7.984 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.2568, allocations: 8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.2569, allocations: 95.27 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2569, allocations: 0 / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001912/0.2571, allocations: 8 kB / 0.9044 GB, free: 59.31 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,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.0003278/0.2574, allocations: 0.6413 MB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.2575, allocations: 43.92 kB / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2576, allocations: 4.125 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.2576, allocations: 23.98 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2578, allocations: 15.98 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.2585, allocations: 0.4961 MB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2587, allocations: 0.6827 MB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.2587, allocations: 4 kB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.2587, allocations: 19.42 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2588, allocations: 4 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.2727, allocations: 1.612 MB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.273, allocations: 191.6 kB / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.911, allocations: 7.938 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)