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.00374/0.00374, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001105/0.001105, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.274/1.274, 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 11.1.0-maint.11.x/package.mo): time 2.472/2.472, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 75.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7146, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001624/0.7163, allocations: 0.6536 MB / 1.221 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.7177, allocations: 1.186 MB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.7178, allocations: 0 / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.7178, allocations: 7.922 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.7179, allocations: 15.86 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.7185, allocations: 219 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.7187, allocations: 179.7 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.7188, allocations: 11.98 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.7189, allocations: 75.88 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.719, allocations: 59.84 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.719, allocations: 16 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.7191, allocations: 31.92 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.7192, allocations: 7.984 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.7192, allocations: 59.83 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7194, allocations: 142.3 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.7194, allocations: 11.98 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7195, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.7195, allocations: 0 / 1.223 GB, free: 15.38 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.0004763/0.7199, allocations: 435.7 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.72, allocations: 12.03 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.72, allocations: 34.73 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.7201, allocations: 16.89 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7202, allocations: 172.2 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.7202, allocations: 4.375 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.7202, allocations: 20.31 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.7203, allocations: 46.23 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7204, allocations: 3.938 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.7204, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7204, allocations: 8 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.7204, allocations: 11.98 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.7208, allocations: 356.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.039e-05/0.7209, allocations: 34.5 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.721, allocations: 16.86 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.721, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.7211, allocations: 83.45 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.7211, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002207/0.7214, allocations: 105.6 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.7214, allocations: 55.39 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.7215, allocations: 113.8 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.7215, allocations: 33.7 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.7216, allocations: 100.1 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.7216, allocations: 11.91 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.7217, allocations: 49.69 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7218, allocations: 322.8 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.722, allocations: 59.97 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.7221, allocations: 96.19 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.7223, allocations: 164 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7223, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003881/0.7227, allocations: 256.9 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/0.7228, allocations: 71.39 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7228, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7228, allocations: 8.125 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.537e-05/0.7228, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7228, allocations: 4 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.7231, allocations: 55.83 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.7232, allocations: 15.98 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 9.485e-05/0.7233, allocations: 129.7 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.7233, allocations: 11.94 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.7233, allocations: 8.375 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7233, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7233, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7234, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.7235, allocations: 177.6 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7235, allocations: 64 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.7235, allocations: 11.98 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7235, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7235, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7235, allocations: 4 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7235, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.7237, allocations: 117.3 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.7237, allocations: 81.11 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.7238, allocations: 3.938 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.7238, allocations: 4 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.7238, allocations: 7.984 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.7238, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.7239, allocations: 95.2 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7239, allocations: 4 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002149/0.7241, 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.0004537/0.7246, allocations: 0.6558 MB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.7249, allocations: 246.7 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.7249, allocations: 3.938 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.725, 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.0002019/0.7252, allocations: 15.98 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.001791/0.727, allocations: 1.713 MB / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.7273, allocations: 0.6807 MB / 1.229 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.7273, allocations: 4 kB / 1.229 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.7273, allocations: 23.42 kB / 1.229 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.7273, allocations: 0 / 1.229 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.102/1.829, allocations: 2.885 MB / 1.232 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/13.53, allocations: 14.95 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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