Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_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.0009048/0.0009047, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006611/0.006611, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 15.42 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3596, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001095/0.3607, allocations: 389.7 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3627, allocations: 1.205 MB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.3627, allocations: 8 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.3628, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.3629, allocations: 15.91 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.3636, allocations: 190.3 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.3639, allocations: 151.7 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.364, allocations: 16 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3642, allocations: 63.81 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3643, allocations: 43.88 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.3643, allocations: 8 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/0.3644, allocations: 19.98 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.3645, allocations: 7.984 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.3646, allocations: 77.53 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3648, allocations: 135.9 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3648, allocations: 7.938 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3648, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3648, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 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.0005183/0.3653, allocations: 414.8 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3654, allocations: 15.97 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.3654, allocations: 34.73 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.3655, allocations: 8.938 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3657, allocations: 168.3 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3657, allocations: 12.31 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.3657, allocations: 12.38 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3659, allocations: 46.23 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3659, allocations: 3.938 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3659, allocations: 11.94 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3659, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.366, allocations: 15.98 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.3665, allocations: 352.7 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/0.3666, allocations: 34.52 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.3666, allocations: 12.95 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3666, allocations: 7.984 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.3668, allocations: 87.27 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3668, allocations: 4 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002675/0.3671, allocations: 101.6 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3672, allocations: 51.41 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.3673, allocations: 121.8 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3673, allocations: 37.69 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.3674, allocations: 92.14 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3674, allocations: 11.81 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.3675, allocations: 21.7 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3676, allocations: 322.8 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3678, allocations: 63.95 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3679, allocations: 84.27 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.3681, allocations: 163.5 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3681, allocations: 480 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004303/0.3686, allocations: 272.7 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.3686, allocations: 71.45 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3687, allocations: 8 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3687, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.3687, allocations: 4 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3687, allocations: 320 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.3691, allocations: 75.94 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.3692, allocations: 11.98 kB / 1.064 GB, free: 15.51 MB / 0.8262 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.0001122/0.3693, allocations: 129.7 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.3693, allocations: 7.906 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.3694, allocations: 12.36 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3694, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3694, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3694, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.3695, allocations: 169.6 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3695, allocations: 4 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.3696, allocations: 3.984 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3696, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3696, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3696, allocations: 7.984 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3696, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3697, allocations: 117 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.3698, allocations: 85.11 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3698, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.3698, allocations: 4 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3699, allocations: 7.984 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3699, allocations: 4 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.37, allocations: 91.27 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.37, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002377/0.3702, allocations: 32 kB / 1.064 GB, free: 14.75 MB / 0.8262 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.0004653/0.3707, allocations: 0.6516 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.371, allocations: 242.7 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.371, allocations: 256 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.3711, allocations: 35.86 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3714, allocations: 17.39 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3734, allocations: 1.72 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3736, allocations: 0.6848 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.3737, allocations: 8 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.3737, allocations: 19.42 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.3737, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.3869, allocations: 2.599 MB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.3872, allocations: 205.8 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.126, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches