Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007449/0.000745, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004995/0.004995, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.421/1.421, allocations: 205.4 MB / 222.4 MB, free: 5.531 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.541/1.541, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005812/0.0005813, allocations: 15.56 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.199, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0006978/0.1997, allocations: 402.4 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2009, allocations: 1.2 MB / 0.7896 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.2009, allocations: 4 kB / 0.7896 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.201, allocations: 3.938 kB / 0.7896 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.201, allocations: 7.922 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.2015, allocations: 205.6 kB / 0.7898 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2017, allocations: 143.8 kB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.2017, allocations: 11.98 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.2018, allocations: 55.89 kB / 0.79 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.2019, allocations: 47.86 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.2019, allocations: 11.94 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.202, allocations: 23.92 kB / 0.7901 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.202, allocations: 15.94 kB / 0.7901 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.2021, allocations: 69.59 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2023, allocations: 147.8 kB / 0.7903 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2023, allocations: 4 kB / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2023, allocations: 0 / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.2023, allocations: 0 / 0.7903 GB, free: 9.141 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003574/0.2027, allocations: 402.8 kB / 0.7907 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2027, allocations: 16.02 kB / 0.7907 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.2027, allocations: 30.75 kB / 0.7907 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.2028, allocations: 12.84 kB / 0.7907 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.2029, allocations: 168.4 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2029, allocations: 8.375 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.2029, allocations: 12.36 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.203, allocations: 46.19 kB / 0.791 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.203, allocations: 3.938 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2031, allocations: 4 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2031, allocations: 0 / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.2031, allocations: 15.98 kB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2035, allocations: 364.6 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.881e-05/0.2036, allocations: 34.52 kB / 0.7914 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.2036, allocations: 20.94 kB / 0.7914 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.2036, allocations: 3.984 kB / 0.7914 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.2038, allocations: 83.38 kB / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2038, allocations: 4 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001952/0.204, allocations: 105.7 kB / 0.7916 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.204, allocations: 59.41 kB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.2041, allocations: 117.8 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2041, allocations: 34.02 kB / 0.7918 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.2042, allocations: 96.03 kB / 0.7919 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.2042, allocations: 7.906 kB / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.2042, allocations: 29.7 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.2043, allocations: 322.7 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2045, allocations: 63.95 kB / 0.7923 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2046, allocations: 84.27 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2048, allocations: 167.5 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2048, allocations: 4 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003511/0.2051, allocations: 256.8 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.2052, allocations: 67.39 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2052, allocations: 4 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.2052, allocations: 0 / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.599e-05/0.2052, allocations: 4 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2052, allocations: 0 / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.2056, allocations: 83.91 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2056, allocations: 15.98 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.756e-05/0.2057, allocations: 121.8 kB / 0.793 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.2057, allocations: 7.984 kB / 0.793 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.2058, allocations: 12.31 kB / 0.7931 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2058, allocations: 0 / 0.7931 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2058, allocations: 4 kB / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2058, allocations: 0 / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2059, allocations: 177.5 kB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2059, allocations: 8 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-06/0.2059, allocations: 4 kB / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2059, allocations: 0 / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2059, allocations: 0 / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2059, allocations: 4 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2059, allocations: 96 / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.2061, allocations: 109 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.2061, allocations: 89.02 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.2061, allocations: 0 / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.784e-05/0.2061, allocations: 4 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.2062, allocations: 11.92 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.2062, allocations: 4 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.2062, allocations: 95.2 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2062, allocations: 0 / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002103/0.2065, allocations: 32 kB / 0.7936 GB, free: 5.363 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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 (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.000355/0.2068, allocations: 0.6475 MB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2071, allocations: 250.7 kB / 0.7944 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2071, allocations: 0 / 0.7944 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.2072, allocations: 23.94 kB / 0.7945 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.2074, allocations: 18.8 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2089, allocations: 1.719 MB / 0.7962 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2091, allocations: 0.6887 MB / 0.7968 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.2091, allocations: 4 kB / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.2092, allocations: 23.42 kB / 0.7969 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2092, allocations: 0.5625 kB / 0.7969 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.707/1.916, allocations: 2.608 MB / 0.7994 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.916, allocations: 193.9 kB / 0.7996 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/3.9, allocations: 0 / 0.7996 GB, free: 15.08 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)