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.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 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.001267/0.001267, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.514/2.514, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5811, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002219/0.5834, allocations: 0.8312 MB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.5852, allocations: 1.491 MB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.5853, allocations: 7.938 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.5855, allocations: 11.81 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.5855, allocations: 27.72 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.5868, allocations: 0.5165 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.5874, allocations: 0.4953 MB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.5875, allocations: 45.47 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.5878, allocations: 183.6 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.588, allocations: 139.6 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.061e-05/0.5881, allocations: 43.94 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.5882, allocations: 55.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.5883, allocations: 39.91 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.5884, allocations: 159.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.5888, allocations: 409.1 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5889, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5889, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.5889, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 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.0007082/0.5896, allocations: 0.6437 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.5896, allocations: 8.031 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.5897, allocations: 46.73 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.5898, allocations: 36.64 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.5901, allocations: 263.9 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.5901, allocations: 20.38 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.5902, allocations: 28.38 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.5904, allocations: 153 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5904, allocations: 3.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.5904, allocations: 11.92 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5904, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.5906, allocations: 79.95 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.5914, allocations: 0.7032 MB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.5916, allocations: 171.6 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.5916, allocations: 44.84 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.5917, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.5919, allocations: 161 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.5919, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004139/0.5923, allocations: 243.3 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.5924, allocations: 59.41 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.5925, allocations: 187.7 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.5926, allocations: 41.69 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.5927, allocations: 128.5 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.5927, allocations: 35.52 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.5929, allocations: 117.6 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.593, allocations: 326.9 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.5933, allocations: 159.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5937, allocations: 242.8 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.5941, allocations: 404.6 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5941, allocations: 4 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008692/0.595, allocations: 0.6164 MB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.722e-05/0.5951, allocations: 164.4 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.5951, allocations: 4 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5951, allocations: 7.938 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.5951, allocations: 12.28 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5952, allocations: 15.92 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.5959, allocations: 135.6 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.596, allocations: 39.97 kB / 1.027 GB, free: 8.332 MB / 0.7794 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.000151/0.5962, allocations: 145.8 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5962, allocations: 27.67 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.5962, allocations: 17.88 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5963, allocations: 4 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5963, allocations: 0 / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5963, allocations: 0 / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.5968, allocations: 0.51 MB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5968, allocations: 0 / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.5968, allocations: 7.938 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5968, allocations: 0 / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5968, allocations: 8 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5969, allocations: 0 / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5969, allocations: 0 / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.5971, allocations: 289.4 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.5972, allocations: 88.92 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.5972, allocations: 7.984 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.5973, allocations: 4 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.5973, allocations: 15.98 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.5974, allocations: 19.97 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.073e-05/0.5975, allocations: 115.2 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.352e-06/0.5975, allocations: 3.938 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003569/0.5978, allocations: 87.78 kB / 1.028 GB, free: 6.902 MB / 0.7794 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.0005923/0.5984, allocations: 0.832 MB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007112/0.5991, allocations: 0.6261 MB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5992, allocations: 4.188 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.5993, allocations: 71.92 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.5997, allocations: 52.42 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.6031, allocations: 2.995 MB / 1.033 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.6034, allocations: 0.7284 MB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.6034, allocations: 25.53 kB / 1.033 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.6035, allocations: 59.42 kB / 1.033 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6035, allocations: 0 / 1.033 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.627, allocations: 6.304 MB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.795, allocations: 10.2 kB / 1.04 GB, free: 11.04 MB / 0.795 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