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.Or3.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.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.467/1.467, allocations: 252 MB / 267.3 MB, free: 10.82 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.001359/0.001359, allocations: 171.9 kB / 327 MB, free: 2.086 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.953/1.953, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009174/0.0009172, allocations: 89.72 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 14.09 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001794/0.3059, allocations: 1.155 MB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00043/0.3064, allocations: 216.3 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.3065, allocations: 0 / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.3065, allocations: 7.938 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3066, allocations: 19.84 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.3068, allocations: 23.92 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.3069, allocations: 79.72 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.307, allocations: 20.16 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.307, allocations: 23.86 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.3071, allocations: 35.84 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3071, allocations: 4 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.3072, allocations: 4 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.3072, allocations: 11.94 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.3073, allocations: 53.5 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3074, allocations: 63.8 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3074, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3074, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3074, allocations: 0 / 0.9026 GB, free: 61.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006081/0.3081, allocations: 413.2 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3081, allocations: 8.031 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.3082, allocations: 30.75 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.3082, allocations: 4.938 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3083, allocations: 188.2 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3083, allocations: 384 / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3084, allocations: 12.38 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3085, allocations: 65.98 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3085, allocations: 0 / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3085, allocations: 0 / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3085, allocations: 4 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.3086, allocations: 35.92 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.309, allocations: 316.7 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.3091, allocations: 46.64 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.3092, allocations: 32.78 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3092, allocations: 0 / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3094, allocations: 83.38 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.3094, allocations: 0 / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002348/0.3096, allocations: 117.5 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3097, allocations: 55.41 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.3098, allocations: 133.7 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3098, allocations: 29.7 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.3098, allocations: 88.14 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3099, allocations: 23.88 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.3099, allocations: 4 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.31, allocations: 322.8 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.31, allocations: 27.92 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.3101, allocations: 55.42 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.3101, allocations: 55.38 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3101, allocations: 0 / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000125/0.3103, allocations: 117.4 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3103, allocations: 4 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3103, allocations: 0 / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3103, allocations: 4 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.3104, allocations: 4 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3104, allocations: 4.469 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3105, allocations: 27.97 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.3105, allocations: 8 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.3106, allocations: 125.7 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3106, allocations: 7.906 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.3107, allocations: 20.28 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3107, allocations: 0 / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3107, allocations: 4 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3107, allocations: 0 / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.3108, allocations: 197.5 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3108, allocations: 4 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-06/0.3109, allocations: 0 / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3109, allocations: 0 / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3109, allocations: 4 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3109, allocations: 0 / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3109, allocations: 0 / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.311, allocations: 120.9 kB / 0.9053 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.3111, allocations: 89.02 kB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3111, allocations: 7.984 kB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3112, allocations: 19.98 kB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.3113, allocations: 15.97 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3113, allocations: 8 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.3113, allocations: 99.27 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3114, allocations: 0 / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002075/0.3116, allocations: 12 kB / 0.9055 GB, free: 58.16 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/0.3119, allocations: 0.6669 MB / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3121, allocations: 68.03 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3121, allocations: 0 / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.3121, allocations: 39.88 kB / 0.9063 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.3124, allocations: 24.16 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3135, allocations: 1.431 MB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3137, allocations: 0.6887 MB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.3137, allocations: 8.562 kB / 0.9084 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.3138, allocations: 31.42 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.3138, allocations: 0 / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.3277, allocations: 2.044 MB / 0.9104 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.3279, allocations: 209.6 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.074, allocations: 0 / 0.9106 GB, free: 52.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)