Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 197.7 kB / 16.53 MB, free: 6.672 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.578/1.578, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.765/1.765, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.00145/0.00145, allocations: 63.7 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2627, allocations: 114.5 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002245/0.265, allocations: 0.6773 MB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2666, allocations: 1.184 MB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.2667, allocations: 0 / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.2667, allocations: 3.938 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.2668, allocations: 11.86 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.2675, allocations: 213.2 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.2677, allocations: 187.8 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2678, allocations: 11.98 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.2679, allocations: 67.88 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.268, allocations: 51.88 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.2681, allocations: 16 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.2682, allocations: 27.98 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.2682, allocations: 11.94 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.2683, allocations: 63.75 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.2685, allocations: 147.9 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2685, allocations: 0 / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2685, allocations: 0 / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2685, allocations: 0 / 0.7861 GB, free: 10.65 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.0005052/0.269, allocations: 442.7 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2691, allocations: 8.031 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.2691, allocations: 38.75 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.2692, allocations: 12.94 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2693, allocations: 172.3 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2693, allocations: 4.375 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.2693, allocations: 8.375 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2694, allocations: 46.25 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2695, allocations: 7.875 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2695, allocations: 7.984 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2695, allocations: 0 / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.2695, allocations: 12 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.27, allocations: 352.7 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.2701, allocations: 38.56 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.2701, allocations: 12.86 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.2701, allocations: 7.922 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.2703, allocations: 87.38 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2703, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002276/0.2705, allocations: 101.6 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.2706, allocations: 63.33 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.2707, allocations: 121.7 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.2707, allocations: 29.7 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.2708, allocations: 88.14 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2708, allocations: 19.8 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2709, allocations: 49.69 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2711, allocations: 322.8 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2712, allocations: 59.95 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2713, allocations: 88.27 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2715, allocations: 159.6 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2715, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004055/0.2719, allocations: 264.9 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.272, allocations: 67.39 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.272, allocations: 0 / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.272, allocations: 4.469 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.122e-05/0.2721, allocations: 8.062 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2721, allocations: 4 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.2725, allocations: 59.72 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.2725, allocations: 15.98 kB / 0.7887 GB, free: 7.605 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,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 (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.0001054/0.2726, allocations: 121.8 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.2726, allocations: 7.906 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.2727, allocations: 16.36 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2727, allocations: 4 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2727, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2727, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2729, allocations: 173.6 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2729, allocations: 0 / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.2729, allocations: 11.98 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2729, allocations: 0 / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.2729, allocations: 4 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2729, allocations: 0 / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2729, allocations: 4 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.2731, allocations: 110.1 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2731, allocations: 81.02 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2731, allocations: 0 / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.2731, allocations: 0 / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.2732, allocations: 15.92 kB / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2732, allocations: 4 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.2733, allocations: 91.27 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.583e-06/0.2733, allocations: 4 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002284/0.2735, allocations: 31.94 kB / 0.7894 GB, free: 6.844 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,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.00042/0.2739, allocations: 0.6592 MB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.2743, allocations: 238.9 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2743, allocations: 4.062 kB / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.2743, allocations: 27.92 kB / 0.7903 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2746, allocations: 20.83 kB / 0.7903 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2764, allocations: 1.72 MB / 0.792 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.2768, allocations: 0.6885 MB / 0.7927 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2768, allocations: 8 kB / 0.7927 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.2769, allocations: 19.44 kB / 0.7927 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2769, allocations: 0 / 0.7927 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.2965, allocations: 2.847 MB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.146, allocations: 7.453 kB / 0.7955 GB, free: 0.5 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)