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.0009226/0.0009227, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009744/0.0009744, allocations: 192.2 kB / 16.14 MB, free: 6.707 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.758 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.62/1.62, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001205/0.001205, allocations: 68.94 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2142, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001638/0.2158, allocations: 0.7396 MB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2172, allocations: 1.212 MB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2172, allocations: 0 / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.2173, allocations: 0 / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.2173, allocations: 7.938 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.2178, allocations: 205.6 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2179, allocations: 143.8 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.218, allocations: 8 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.2181, allocations: 67.81 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.2181, allocations: 55.8 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.2182, allocations: 8 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.2183, allocations: 19.98 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.2183, allocations: 4 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.2183, allocations: 55.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2185, allocations: 147.9 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2185, allocations: 0 / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2185, allocations: 0 / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.265e-06/0.2185, allocations: 0 / 0.7854 GB, free: 11.21 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.0003875/0.2189, allocations: 434.7 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.219, allocations: 12.03 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.219, allocations: 34.75 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.219, allocations: 12.92 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.2191, allocations: 176.2 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2191, allocations: 4.375 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.2192, allocations: 8.375 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.2193, allocations: 50.23 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2193, allocations: 3.938 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2193, allocations: 4 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2193, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.2193, allocations: 15.94 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.2197, allocations: 356.6 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.2198, allocations: 42.5 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.2198, allocations: 16.86 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.2198, allocations: 0 / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.2199, allocations: 91.34 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.2199, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001866/0.2201, allocations: 101.6 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2202, allocations: 55.41 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.2202, allocations: 117.8 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2203, allocations: 29.7 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.2203, allocations: 92.12 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.2204, allocations: 19.8 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.2205, allocations: 45.69 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2206, allocations: 326.8 kB / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2207, allocations: 55.97 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.2208, allocations: 100.2 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.221, allocations: 155.6 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.221, allocations: 0 / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003919/0.2214, allocations: 265.3 kB / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.2215, allocations: 67.39 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2215, allocations: 0 / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.2215, allocations: 7.938 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.257e-05/0.2215, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2215, allocations: 4 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.2218, allocations: 63.89 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2219, allocations: 12.06 kB / 0.7881 GB, free: 8.176 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 0.0001015/0.222, allocations: 129.7 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.222, allocations: 11.91 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.222, allocations: 8.375 kB / 0.7882 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.222, allocations: 4 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.222, allocations: 4 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.222, allocations: 0 / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2222, allocations: 177.6 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2222, allocations: 0 / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.2222, allocations: 3.938 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2222, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.2222, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2222, allocations: 4 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2222, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.2223, allocations: 117 kB / 0.7885 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.2224, allocations: 85.02 kB / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2224, allocations: 3.984 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.2224, allocations: 0 / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.2224, allocations: 8 kB / 0.7886 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2225, allocations: 7.984 kB / 0.7886 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.2225, allocations: 87.28 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2225, allocations: 0 / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002174/0.2227, allocations: 28 kB / 0.7887 GB, free: 7.414 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.0004105/0.2231, allocations: 0.6637 MB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.2234, allocations: 242.7 kB / 0.7896 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2234, allocations: 0 / 0.7896 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.2235, allocations: 28.19 kB / 0.7896 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2237, allocations: 19.98 kB / 0.7896 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.2254, allocations: 1.712 MB / 0.7913 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.2256, allocations: 0.6887 MB / 0.792 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.2256, allocations: 4 kB / 0.792 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2256, allocations: 19.42 kB / 0.792 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2256, allocations: 4 kB / 0.792 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.2366, allocations: 2.665 MB / 0.7946 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.2368, allocations: 209.9 kB / 0.7948 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.842, allocations: 0 / 0.7948 GB, free: 1.023 MB / 0.6075 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)