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.And.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.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.417/1.417, allocations: 252 MB / 267.3 MB, free: 10.86 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.001149/0.001149, allocations: 171 kB / 327 MB, free: 2.098 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.983/1.983, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0008653/0.0008654, allocations: 82.38 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 11.92 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001751/0.2872, allocations: 1.108 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004853/0.2878, allocations: 200.3 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.2878, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.2878, allocations: 3.984 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.2879, allocations: 7.938 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2881, allocations: 15.98 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.2882, allocations: 59.73 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2883, allocations: 15.97 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.2884, allocations: 15.94 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.2885, allocations: 23.84 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.2885, allocations: 4 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.2885, allocations: 0 / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.2886, allocations: 8 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.2886, allocations: 49.56 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.2887, allocations: 39.84 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2887, allocations: 0 / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2888, allocations: 0 / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2888, allocations: 0 / 0.9024 GB, free: 61.81 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.000582/0.2894, allocations: 375.6 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.2894, allocations: 8.031 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.2895, allocations: 42.73 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.2895, allocations: 0.9375 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2896, allocations: 172.2 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2897, allocations: 8.375 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2897, allocations: 8.375 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.2898, allocations: 46.23 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2898, allocations: 3.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2898, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2898, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.2899, allocations: 27.92 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.2904, allocations: 284.7 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.2905, allocations: 46.56 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.2905, allocations: 20.97 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2905, allocations: 0 / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.2907, allocations: 71.33 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2907, allocations: 4 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002067/0.2909, allocations: 77.69 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.291, allocations: 51.41 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.2911, allocations: 121.7 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2911, allocations: 29.7 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.2911, allocations: 84.14 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.2912, allocations: 19.88 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.2912, allocations: 0 / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.2913, allocations: 322.8 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.2913, allocations: 19.94 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.2914, allocations: 42.5 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.2914, allocations: 38.58 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2914, allocations: 3.938 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001005/0.2916, allocations: 74.31 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2916, allocations: 8 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2916, allocations: 0 / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2916, allocations: 4 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.2917, allocations: 11.98 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2917, allocations: 0 / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.2918, allocations: 31.77 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2918, allocations: 0 / 0.9044 GB, free: 59.54 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,and1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.2919, allocations: 128 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.2919, allocations: 0 / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.292, allocations: 16.36 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.292, allocations: 0 / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.292, allocations: 0 / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.292, allocations: 3.984 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2922, allocations: 181.5 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2922, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.2922, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2922, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2922, allocations: 15.98 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2922, allocations: 80 / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2922, allocations: 3.984 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.2923, allocations: 96.97 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.2924, allocations: 85.02 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2924, allocations: 3.984 kB / 0.9049 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.2925, allocations: 15.98 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.2926, allocations: 11.98 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2926, allocations: 4 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.2926, allocations: 87.28 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2926, allocations: 3.938 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001826/0.2928, allocations: 8 kB / 0.905 GB, free: 58.79 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,and1.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 (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.0004298/0.2932, allocations: 0.6423 MB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2934, allocations: 47.92 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2934, allocations: 0 / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.2935, allocations: 23.98 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2937, allocations: 17.86 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.2947, allocations: 1.306 MB / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.2949, allocations: 0.6907 MB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.2949, allocations: 4 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.295, allocations: 23.42 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.295, allocations: 0 / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.3089, allocations: 1.603 MB / 0.9093 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.3092, allocations: 210.5 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.032, allocations: 0 / 0.9095 GB, free: 54.17 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)