Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.009649/0.009649, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002574/0.002574, allocations: 198.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.728/2.728, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 5.561/5.561, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 64.09 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6679, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.003621/0.6716, allocations: 0.6971 MB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.6752, allocations: 1.277 MB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.6754, allocations: 0 / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.6755, allocations: 3.938 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.6757, allocations: 15.8 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.6778, allocations: 316.6 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.6785, allocations: 275.6 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.6787, allocations: 16.19 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.679, allocations: 103.8 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.6793, allocations: 91.73 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.6794, allocations: 24 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.6796, allocations: 35.98 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.6796, allocations: 11.98 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.6799, allocations: 87.73 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.6804, allocations: 219.6 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.6804, allocations: 4 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.456e-06/0.6804, allocations: 3.938 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6805, allocations: 0 / 1.169 GB, free: 4.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001299/0.6818, allocations: 0.4885 MB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/0.6819, allocations: 12.03 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.6819, allocations: 34.73 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.6821, allocations: 16.89 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.6824, allocations: 176.2 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.6824, allocations: 12.36 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.6825, allocations: 12.38 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.6829, allocations: 65.98 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6829, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.6829, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.683, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.6831, allocations: 23.98 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.6842, allocations: 408.5 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.6843, allocations: 42.5 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.6844, allocations: 24.94 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.6844, allocations: 0 / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.6848, allocations: 103.3 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 4.338e-06/0.6848, allocations: 4 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006185/0.6855, allocations: 133.5 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.6856, allocations: 59.39 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.6858, allocations: 140.2 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.6859, allocations: 29.7 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.6861, allocations: 96.14 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.6861, allocations: 23.84 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.6864, allocations: 65.67 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002879/0.6867, allocations: 322.8 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.6871, allocations: 88.31 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.6875, allocations: 141.9 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.6881, allocations: 234.7 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6881, allocations: 0 / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001202/0.6894, allocations: 374.4 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.6895, allocations: 97.09 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6896, allocations: 4 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/0.6896, allocations: 3.984 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.6897, allocations: 7.938 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.6897, allocations: 8.188 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.6906, allocations: 87.78 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.6907, allocations: 15.98 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.000277/0.691, allocations: 133.8 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.691, allocations: 7.953 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.6911, allocations: 8.375 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.6911, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6911, allocations: 3.938 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.6912, allocations: 7.984 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.6915, allocations: 189.6 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6915, allocations: 0 / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.6916, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6916, allocations: 0 / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.6916, allocations: 7.984 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6916, allocations: 7.938 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.6916, allocations: 0 / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.6921, allocations: 137 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.6922, allocations: 89.05 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.6922, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.6923, allocations: 4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.6923, allocations: 7.984 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.6924, allocations: 4 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001404/0.6925, allocations: 108.6 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6925, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005026/0.693, allocations: 47.95 kB / 1.173 GB, free: 15.63 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009921/0.6941, allocations: 0.6826 MB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009262/0.695, allocations: 366 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.695, allocations: 0 / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.6952, allocations: 39.92 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.6957, allocations: 26.31 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/0.7011, allocations: 2.06 MB / 1.176 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.7019, allocations: 0.6924 MB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.702, allocations: 12.42 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.7021, allocations: 23.44 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of SimCode: time 1.553e-06/0.7021, allocations: 0 / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/0.8333, allocations: 3.821 MB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.82/18.65, allocations: 9.75 kB / 1.181 GB, free: 7.793 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_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_Or3.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches