Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.And,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_10_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.03168/0.03168, allocations: 101.9 kB / 15.73 MB, free: 5.516 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.002651/0.002651, allocations: 193 kB / 16.67 MB, free: 5.445 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.793/2.793, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.007/5.007, allocations: 437.1 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003498/0.003498, allocations: 68.11 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523/1.526, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.003364/1.53, allocations: 0.6625 MB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002921/1.533, allocations: 1.197 MB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/1.533, allocations: 0 / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.214e-05/1.533, allocations: 3.938 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/1.533, allocations: 7.938 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/1.534, allocations: 217.2 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/1.535, allocations: 191.6 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/1.535, allocations: 12 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/1.535, allocations: 63.89 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/1.535, allocations: 63.84 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/1.536, allocations: 12 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/1.536, allocations: 35.98 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/1.536, allocations: 7.984 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/1.536, allocations: 55.83 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/1.536, allocations: 155.3 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/1.536, allocations: 0 / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.344e-06/1.536, allocations: 3.938 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.536, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 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.0009158/1.537, allocations: 434.7 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/1.537, allocations: 8.922 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/1.537, allocations: 38.73 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/1.537, allocations: 20.77 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/1.538, allocations: 168.3 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.538, allocations: 8.375 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/1.538, allocations: 8.375 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/1.538, allocations: 50.23 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.538, allocations: 7.938 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.538, allocations: 0 / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.538, allocations: 0 / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/1.538, allocations: 15.98 kB / 1.17 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/1.539, allocations: 356.6 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/1.539, allocations: 34.58 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/1.539, allocations: 16.94 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/1.539, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/1.54, allocations: 83.31 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/1.54, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000461/1.54, allocations: 101.8 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/1.54, allocations: 59.41 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/1.54, allocations: 117.8 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/1.541, allocations: 33.7 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.541, allocations: 88.09 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/1.541, allocations: 15.91 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.541, allocations: 45.69 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002734/1.541, allocations: 326.8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/1.542, allocations: 59.91 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/1.542, allocations: 96.25 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/1.542, allocations: 156 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.542, allocations: 4 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001002/1.543, allocations: 268.9 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.543, allocations: 67.39 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.543, allocations: 3.938 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.544, allocations: 4 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/1.544, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/1.544, allocations: 15.98 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/1.544, allocations: 59.95 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/1.544, allocations: 12 kB / 1.171 GB, free: 14.07 MB / 0.9044 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.0002033/1.545, allocations: 125.8 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/1.545, allocations: 7.953 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/1.545, allocations: 8.375 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.545, allocations: 4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.545, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.545, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/1.545, allocations: 181.6 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.545, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/1.545, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.545, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.545, allocations: 4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.545, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.545, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/1.545, allocations: 116.9 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/1.546, allocations: 81.11 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/1.546, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/1.546, allocations: 7.984 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.546, allocations: 7.984 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/1.546, allocations: 4 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001203/1.546, allocations: 95.2 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.31e-07/1.546, allocations: 0 / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000502/1.546, allocations: 35.94 kB / 1.172 GB, free: 13.31 MB / 0.9044 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.0008954/1.547, allocations: 0.6631 MB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007143/1.548, allocations: 238.7 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.548, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/1.548, allocations: 24 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/1.549, allocations: 20.23 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/1.553, allocations: 1.716 MB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/1.554, allocations: 0.6885 MB / 1.175 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.772e-05/1.554, allocations: 7.984 kB / 1.175 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/1.554, allocations: 15.44 kB / 1.175 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of SimCode: time 1.312e-06/1.554, allocations: 0 / 1.175 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/1.597, allocations: 2.876 MB / 1.178 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/18.52, allocations: 11.88 kB / 1.178 GB, free: 6.965 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_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_And.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches