Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01094/0.01095, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001176/0.001176, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.992/1.992, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.264/2.264, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006342/0.0006343, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6932, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001702/0.6949, allocations: 1.064 MB / 0.6845 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000539/0.6955, allocations: 200.2 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.6956, allocations: 1.188 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.6956, allocations: 1.406 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.452e-05/0.6957, allocations: 11.42 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.6959, allocations: 18.2 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.696, allocations: 32.44 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.6961, allocations: 14.84 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.6961, allocations: 13.64 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.6962, allocations: 18.14 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.6963, allocations: 6.625 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.6963, allocations: 2.281 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.6963, allocations: 8.25 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.6964, allocations: 37.45 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.6965, allocations: 31.55 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.6965, allocations: 0 / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6965, allocations: 0 / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6965, allocations: 4 kB / 0.6849 GB, free: 15.74 MB / 0.5261 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.0005967/0.6971, allocations: 368.9 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6972, allocations: 10.08 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.6972, allocations: 36.98 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.6973, allocations: 6.469 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.6974, allocations: 176.8 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6974, allocations: 10.5 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6974, allocations: 2.062 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.6976, allocations: 54.11 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6976, allocations: 0.9688 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6976, allocations: 0 / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6976, allocations: 0.9375 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.6977, allocations: 19.66 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.6982, allocations: 288.7 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.6983, allocations: 46.16 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.6984, allocations: 0 / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.6986, allocations: 71.75 kB / 0.6859 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.6986, allocations: 0 / 0.6859 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002834/0.6989, allocations: 86.97 kB / 0.686 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6989, allocations: 61.34 kB / 0.686 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.699, allocations: 114.5 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.6991, allocations: 31.66 kB / 0.6862 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.6991, allocations: 86.12 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.6991, allocations: 15.41 kB / 0.6863 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.6992, allocations: 1.156 kB / 0.6863 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.6992, allocations: 319 kB / 0.6866 GB, free: 14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.6993, allocations: 16.77 kB / 0.6866 GB, free: 14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.6994, allocations: 34.48 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.12e-05/0.6995, allocations: 20.27 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6995, allocations: 1.312 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001712/0.6996, allocations: 77.28 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6997, allocations: 8 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6997, allocations: 5.688 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6997, allocations: 1.562 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.6998, allocations: 12.16 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6998, allocations: 5.172 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.7, allocations: 18 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.7, allocations: 7.469 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.7001, allocations: 116.2 kB / 0.6869 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.7002, allocations: 11.11 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.7002, allocations: 10.38 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7002, allocations: 0 / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7002, allocations: 2 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7003, allocations: 4.75 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.7004, allocations: 179 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7005, allocations: 1.156 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.7005, allocations: 5.312 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7005, allocations: 0.6562 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7005, allocations: 1.438 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.7005, allocations: 0.7031 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7005, allocations: 5.5 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.7007, allocations: 98.95 kB / 0.6872 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.7008, allocations: 84.36 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.7008, allocations: 0.6094 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.701, allocations: 13.72 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.701, allocations: 13.73 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7011, allocations: 1.766 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.7011, allocations: 88.39 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7011, allocations: 1 kB / 0.6874 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002745/0.7014, allocations: 13.83 kB / 0.6874 GB, free: 13.26 MB / 0.5261 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000398/0.7018, allocations: 0.6487 MB / 0.688 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.702, allocations: 42.42 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.702, allocations: 0 / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.7021, allocations: 25.55 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.7024, allocations: 14.12 kB / 0.6881 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.7034, allocations: 0.7809 MB / 0.6889 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.7036, allocations: 0.6912 MB / 0.6896 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.739e-05/0.7037, allocations: 6 kB / 0.6896 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.7037, allocations: 16.03 kB / 0.6896 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/0.7037, allocations: 0 / 0.6896 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.728, allocations: 1.593 MB / 0.6911 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.7283, allocations: 192 kB / 0.6913 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.16, allocations: 0.7812 kB / 0.6913 GB, free: 10.74 MB / 0.5261 GB