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.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001078/0.001078, allocations: 188.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001122/0.001122, allocations: 103.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 12.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001507/0.2898, allocations: 1.083 MB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003995/0.2902, allocations: 193.8 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.2903, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.2903, allocations: 3.938 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.2904, allocations: 15.95 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.2906, allocations: 15.92 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.2906, allocations: 31.95 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2908, allocations: 12 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.2908, allocations: 19.92 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.2909, allocations: 15.92 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2909, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.2909, allocations: 4 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.291, allocations: 15.91 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.291, allocations: 33.7 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.151e-05/0.2911, allocations: 23.94 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2911, allocations: 0 / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2911, allocations: 4 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2911, allocations: 0 / 0.9016 GB, free: 62.36 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.0005325/0.2916, allocations: 371.5 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2917, allocations: 8.031 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.2917, allocations: 42.56 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.2918, allocations: 3.938 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2919, allocations: 182.9 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2919, allocations: 8 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.292, allocations: 4 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2921, allocations: 49.62 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2921, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2921, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2921, allocations: 4 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.2922, allocations: 19.98 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.2926, allocations: 296.8 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.2927, allocations: 42.56 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.2927, allocations: 3.938 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.2929, allocations: 67.52 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/0.2929, allocations: 4 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001941/0.2931, allocations: 89.58 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2931, allocations: 55.41 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.2932, allocations: 117.8 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2932, allocations: 29.7 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.2933, allocations: 92.05 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.2933, allocations: 3.906 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.2933, allocations: 0 / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.2934, allocations: 326.8 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.2934, allocations: 16 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.2934, allocations: 38.5 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.2935, allocations: 12 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2935, allocations: 0 / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.99e-05/0.2936, allocations: 78.16 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2936, allocations: 8 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.2936, allocations: 4.062 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2937, allocations: 0 / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.2937, allocations: 7.984 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2937, allocations: 4 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.2938, allocations: 19.88 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2938, allocations: 8 kB / 0.9035 GB, free: 60.15 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.31e-05/0.2939, allocations: 120 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2939, allocations: 11.91 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.294, allocations: 8.375 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.294, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.294, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.294, allocations: 3.984 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2941, allocations: 177.8 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2941, allocations: 0 / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.2941, allocations: 7.938 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2941, allocations: 0 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2941, allocations: 3.984 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2942, allocations: 80 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2942, allocations: 7.984 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.2943, allocations: 104.9 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.2943, allocations: 85.11 kB / 0.904 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.2943, allocations: 4 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.2944, allocations: 15.97 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.2945, allocations: 15.98 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2945, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.2945, allocations: 91.28 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2945, allocations: 0 / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001778/0.2947, allocations: 12 kB / 0.9042 GB, free: 59.4 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.000316/0.295, allocations: 0.6414 MB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.2952, allocations: 43.92 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2952, allocations: 0 / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.2952, allocations: 31.92 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.2954, allocations: 11.92 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.2961, allocations: 0.7852 MB / 0.9056 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2963, allocations: 0.6995 MB / 0.9063 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2963, allocations: 7.984 kB / 0.9063 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.2964, allocations: 15.44 kB / 0.9063 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2964, allocations: 0 / 0.9063 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.3086, allocations: 1.586 MB / 0.9079 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.3088, allocations: 190.6 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.851, allocations: 3.938 kB / 0.9081 GB, free: 55.36 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)