Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.000791, allocations: 98.03 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 173.5 kB / 16.27 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000513/0.000513, allocations: 15.03 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2052, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0008211/0.2061, allocations: 450.2 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2076, allocations: 1.29 MB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.2077, allocations: 0 / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2077, allocations: 3.984 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.2078, allocations: 11.88 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.2086, allocations: 300.6 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.2088, allocations: 219.7 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2089, allocations: 16.17 kB / 0.7902 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2091, allocations: 87.73 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2092, allocations: 67.78 kB / 0.7904 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2093, allocations: 12 kB / 0.7904 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.2094, allocations: 27.98 kB / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.2094, allocations: 19.97 kB / 0.7904 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2096, allocations: 97.45 kB / 0.7905 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.2098, allocations: 211.6 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2098, allocations: 4 kB / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2098, allocations: 0 / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2098, allocations: 0 / 0.7907 GB, free: 8.633 MB / 0.6075 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.0004706/0.2103, allocations: 456.4 kB / 0.7912 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2104, allocations: 8.031 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.2104, allocations: 34.75 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.2105, allocations: 16.84 kB / 0.7912 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2106, allocations: 180.2 kB / 0.7914 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2106, allocations: 12.31 kB / 0.7914 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.2107, allocations: 16.38 kB / 0.7914 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2108, allocations: 57.98 kB / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.2108, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2108, allocations: 4 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2108, allocations: 0 / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.2109, allocations: 15.98 kB / 0.7915 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.2114, allocations: 420.6 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.2114, allocations: 34.52 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.2115, allocations: 20.94 kB / 0.792 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.2115, allocations: 3.984 kB / 0.792 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.2117, allocations: 107.2 kB / 0.7921 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.2117, allocations: 0 / 0.7921 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002694/0.2119, allocations: 145.7 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.212, allocations: 51.41 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.2121, allocations: 129.8 kB / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.2121, allocations: 33.7 kB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2122, allocations: 100 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2122, allocations: 23.81 kB / 0.7925 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.2123, allocations: 29.7 kB / 0.7926 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.2124, allocations: 330.8 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2126, allocations: 87.89 kB / 0.793 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.2128, allocations: 134 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.213, allocations: 235 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.213, allocations: 0 / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005585/0.2136, allocations: 370.4 kB / 0.7937 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.2137, allocations: 105.3 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.2137, allocations: 4 kB / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2137, allocations: 0 / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-05/0.2137, allocations: 7.938 kB / 0.7938 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2138, allocations: 12.05 kB / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.2143, allocations: 111.3 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.2144, allocations: 23.98 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001057/0.2145, allocations: 133.7 kB / 0.794 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.2145, allocations: 7.906 kB / 0.794 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.2145, allocations: 12.38 kB / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2145, allocations: 0 / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2145, allocations: 0 / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2146, allocations: 0 / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2147, allocations: 201.5 kB / 0.7942 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2147, allocations: 0 / 0.7942 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.2147, allocations: 8 kB / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2147, allocations: 0 / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2147, allocations: 0 / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2147, allocations: 0 / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2148, allocations: 4 kB / 0.7943 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2149, allocations: 140.9 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.215, allocations: 85.2 kB / 0.7945 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.215, allocations: 4 kB / 0.7945 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.215, allocations: 11.92 kB / 0.7945 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2151, allocations: 8 kB / 0.7945 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2151, allocations: 7.984 kB / 0.7945 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.2151, allocations: 95.27 kB / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2151, allocations: 0 / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000255/0.2154, allocations: 47.91 kB / 0.7946 GB, free: 4.188 MB / 0.6075 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * 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.0004322/0.2158, allocations: 0.6826 MB / 0.7953 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.2163, allocations: 365.9 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2163, allocations: 0 / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.2163, allocations: 43.92 kB / 0.7957 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2166, allocations: 24.36 kB / 0.7957 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.2187, allocations: 2.056 MB / 0.7977 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.219, allocations: 0.6965 MB / 0.7984 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.219, allocations: 12.42 kB / 0.7984 GB, free: 84 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.219, allocations: 23.72 kB / 0.7984 GB, free: 64 kB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2191, allocations: 0 / 0.7984 GB, free: 64 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.2325, allocations: 3.494 MB / 0.8019 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.2327, allocations: 209 kB / 0.8021 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.834, allocations: 0 / 0.8021 GB, free: 12.46 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)