Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MultiOr,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.009829/0.009829, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001964/0.001963, allocations: 192 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3104, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002013/0.3124, allocations: 0.8508 MB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3144, allocations: 1.471 MB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3145, allocations: 4 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.3147, allocations: 19.8 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.3148, allocations: 35.72 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.3163, allocations: 0.5141 MB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.317, allocations: 0.5031 MB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3172, allocations: 41.48 kB / 1.17 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3175, allocations: 183.7 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.3178, allocations: 171.5 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-05/0.3179, allocations: 40 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.318, allocations: 55.98 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.3181, allocations: 47.83 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3183, allocations: 159.5 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.3188, allocations: 411 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3189, allocations: 0 / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3189, allocations: 0 / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.3189, allocations: 4 kB / 1.171 GB, free: 2.844 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008071/0.3197, allocations: 0.6514 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3197, allocations: 11.97 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.3198, allocations: 42.73 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3199, allocations: 28.84 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3202, allocations: 265 kB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3203, allocations: 20.36 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.3204, allocations: 32.38 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.3206, allocations: 157.9 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3206, allocations: 3.938 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3206, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3207, allocations: 7.938 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.3208, allocations: 87.88 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.3216, allocations: 0.6994 MB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.3219, allocations: 183.6 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.3219, allocations: 40.84 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3219, allocations: 0 / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.3223, allocations: 158 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.3223, allocations: 4 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.0004692/0.3227, allocations: 249.5 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3228, allocations: 55.41 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.323, allocations: 178.8 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.323, allocations: 41.7 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3231, allocations: 120.6 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3232, allocations: 47.67 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3234, allocations: 117.6 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3236, allocations: 326.8 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.324, allocations: 164 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.3244, allocations: 242.1 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.3251, allocations: 413.2 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.3251, allocations: 0 / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001134/0.3262, allocations: 0.619 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.3264, allocations: 176.4 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3264, allocations: 4 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3265, allocations: 4 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.3265, allocations: 7.938 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3265, allocations: 4 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/0.3274, allocations: 139.7 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3275, allocations: 35.97 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002404/0.3277, allocations: 152.2 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.3278, allocations: 23.8 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.3278, allocations: 29.86 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3279, allocations: 0 / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3279, allocations: 0 / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3279, allocations: 0 / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.3286, allocations: 0.5022 MB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3286, allocations: 0 / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.3287, allocations: 15.92 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3287, allocations: 4 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3287, allocations: 96 / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3287, allocations: 3.938 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3287, allocations: 8 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.329, allocations: 285 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.3291, allocations: 89.02 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3292, allocations: 7.984 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.3293, allocations: 4 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3293, allocations: 15.98 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3294, allocations: 11.98 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001009/0.3295, allocations: 124.2 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 0 / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004861/0.33, allocations: 79.89 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008425/0.3308, allocations: 0.8327 MB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007862/0.3316, allocations: 0.6217 MB / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3316, allocations: 0 / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3318, allocations: 79.91 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.3322, allocations: 56.56 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.336, allocations: 2.999 MB / 1.181 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3363, allocations: 0.7281 MB / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.058e-05/0.3364, allocations: 21.55 kB / 1.182 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.3365, allocations: 59.42 kB / 1.182 GB, free: 6 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.3365, allocations: 0 / 1.182 GB, free: 6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3601, allocations: 6.364 MB / 1.188 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.24, allocations: 8.531 kB / 1.189 GB, free: 15.78 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches