Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001356/0.001356, allocations: 189.1 kB / 16.25 MB, free: 6.629 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.487/1.487, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.615/1.615, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001331/0.001331, allocations: 71.09 kB / 0.6711 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1986, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001984/0.2006, allocations: 0.7747 MB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2024, allocations: 1.267 MB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.2024, allocations: 4 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.2025, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.2026, allocations: 15.86 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.2033, allocations: 294.5 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.2036, allocations: 271.7 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.2037, allocations: 12.12 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2038, allocations: 99.8 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2039, allocations: 79.77 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.204, allocations: 24 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.2041, allocations: 35.98 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.2041, allocations: 11.98 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.2042, allocations: 87.73 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2044, allocations: 223.7 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2044, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2044, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2044, allocations: 3.938 kB / 0.7861 GB, free: 10.62 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.0005417/0.205, allocations: 496.3 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.205, allocations: 12.03 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.2051, allocations: 34.75 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.2051, allocations: 20.84 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2053, allocations: 176.2 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2053, allocations: 8.359 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.2053, allocations: 16.38 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.2054, allocations: 57.98 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.2055, allocations: 0 / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2055, allocations: 3.984 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2055, allocations: 4 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.2055, allocations: 19.98 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.2061, allocations: 428.4 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.2061, allocations: 26.58 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.2062, allocations: 20.94 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.2062, allocations: 0 / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.2064, allocations: 107.3 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.2064, allocations: 0 / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002895/0.2067, allocations: 137.5 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.2067, allocations: 51.41 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2068, allocations: 136.7 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.2069, allocations: 33.7 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.2069, allocations: 92.14 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.207, allocations: 31.7 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2071, allocations: 73.61 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2072, allocations: 326.8 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.2074, allocations: 87.95 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2076, allocations: 130.3 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.2079, allocations: 235 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2079, allocations: 0 / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005619/0.2085, allocations: 374.5 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.2085, allocations: 107.7 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2085, allocations: 0 / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2086, allocations: 4 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.276e-05/0.2086, allocations: 7.938 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2086, allocations: 3.984 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.2091, allocations: 79.91 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.2092, allocations: 19.98 kB / 0.7893 GB, free: 6.984 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,or1.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.0001074/0.2093, allocations: 141.7 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2093, allocations: 7.906 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.2093, allocations: 12.38 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2093, allocations: 3.938 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2093, allocations: 0 / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2094, allocations: 8 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2095, allocations: 193.5 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2095, allocations: 0 / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.2095, allocations: 4 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2095, allocations: 0 / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2095, allocations: 4 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2095, allocations: 0 / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2095, allocations: 0 / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.2097, allocations: 140.9 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2098, allocations: 89.02 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2098, allocations: 0 / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.78e-05/0.2098, allocations: 7.984 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.2099, allocations: 8 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2099, allocations: 7.984 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.2099, allocations: 91.27 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2099, allocations: 0 / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.2102, allocations: 44.09 kB / 0.79 GB, free: 6.141 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,or1.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.0004689/0.2107, allocations: 0.6903 MB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.2111, allocations: 370 kB / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2112, allocations: 0 / 0.7911 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.2112, allocations: 39.92 kB / 0.7911 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.2115, allocations: 24.34 kB / 0.7911 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.2137, allocations: 2.074 MB / 0.7932 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.2139, allocations: 0.6962 MB / 0.7938 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.214, allocations: 4.438 kB / 0.7938 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.214, allocations: 31.7 kB / 0.7939 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.214, allocations: 0 / 0.7939 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.2267, allocations: 3.686 MB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.2269, allocations: 201.8 kB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/1.955, allocations: 0 / 0.7977 GB, free: 14.19 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)