Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_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.005529/0.005529, allocations: 98.94 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.001344/0.001344, allocations: 190 kB / 16.67 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 68.11 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8284, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00196/0.8304, allocations: 0.6509 MB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.8321, allocations: 1.19 MB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.8322, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.8323, allocations: 3.938 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.8324, allocations: 7.875 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.833, allocations: 221.7 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.8334, allocations: 187.7 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.8335, allocations: 8 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.8336, allocations: 71.88 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.8338, allocations: 55.86 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.8338, allocations: 16 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.8339, allocations: 31.92 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.834, allocations: 19.91 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.8341, allocations: 59.83 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.8343, allocations: 150.3 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8343, allocations: 3.938 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8343, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.8343, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 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.0005944/0.8349, allocations: 435.6 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.835, allocations: 12.03 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.835, allocations: 30.75 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.8351, allocations: 16.89 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.8352, allocations: 168.3 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.8352, allocations: 8.375 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.8353, allocations: 20.3 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.8354, allocations: 42.25 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8354, allocations: 3.938 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.8354, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8355, allocations: 4 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.8355, allocations: 11.98 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.836, allocations: 360.7 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.8361, allocations: 34.5 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.8361, allocations: 20.94 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.8362, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.8363, allocations: 79.36 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.8363, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002644/0.8366, allocations: 109.6 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.8367, allocations: 51.41 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.8368, allocations: 117.8 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.8368, allocations: 33.7 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.8369, allocations: 96.47 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.8369, allocations: 11.89 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.8371, allocations: 49.69 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8372, allocations: 322.8 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.8374, allocations: 67.91 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.8375, allocations: 92.25 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.8378, allocations: 159.6 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8378, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004422/0.8382, allocations: 256.9 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.8383, allocations: 75.33 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8383, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8383, allocations: 4 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.909e-05/0.8384, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.8384, allocations: 7.984 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.8387, allocations: 63.95 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.8388, allocations: 8 kB / 1.225 GB, free: 12.34 MB / 0.9512 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.0001146/0.8389, allocations: 129.7 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.8389, allocations: 7.953 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.839, allocations: 8.375 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.839, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.839, allocations: 4 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.839, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.8392, allocations: 177.6 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8392, allocations: 64 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.8392, allocations: 8 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8392, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.8392, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8392, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8392, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.8394, allocations: 121.1 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.8395, allocations: 85.05 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.8395, allocations: 7.922 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.8395, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.8396, allocations: 4 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.8396, allocations: 4 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.8397, allocations: 91.27 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8397, allocations: 0 / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000237/0.8399, allocations: 31.94 kB / 1.226 GB, free: 11.57 MB / 0.9512 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.0005444/0.8405, allocations: 0.6562 MB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.8409, allocations: 250.8 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8409, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.8409, allocations: 27.92 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.8412, allocations: 20.23 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.8433, allocations: 1.717 MB / 1.229 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.8436, allocations: 0.6807 MB / 1.229 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.8437, allocations: 8.547 kB / 1.229 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.8437, allocations: 15.44 kB / 1.229 GB, free: 8 MB / 0.9512 GB Notification: Performance of SimCode: time 7.61e-07/0.8437, allocations: 0 / 1.229 GB, free: 8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.8696, allocations: 2.882 MB / 1.232 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.321, allocations: 15.42 kB / 1.232 GB, free: 5.215 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches