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.0009075/0.0009074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009889/0.000989, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 2.399/2.399, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6861, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001632/0.6878, allocations: 0.7305 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.6889, allocations: 1.175 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.689, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.689, allocations: 3.938 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.6891, allocations: 7.922 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.6896, allocations: 199.2 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.6898, allocations: 191.6 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.6899, allocations: 11.98 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.69, allocations: 63.89 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.6901, allocations: 47.88 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.6901, allocations: 20 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.6902, allocations: 31.98 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.6902, allocations: 7.969 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.6903, allocations: 59.83 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.6905, allocations: 153.8 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6905, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.406e-06/0.6905, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6905, allocations: 3.938 kB / 1.02 GB, free: 16 kB / 0.7637 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.000468/0.691, allocations: 434.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.691, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.6911, allocations: 38.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.6911, allocations: 16.78 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/0.6912, allocations: 168.3 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.6912, allocations: 8.359 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.6913, allocations: 8.375 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.6914, allocations: 46.25 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6914, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.6914, allocations: 7.984 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6914, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.6915, allocations: 19.92 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.6919, allocations: 360.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.6919, allocations: 30.58 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.692, allocations: 16.94 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.692, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.6921, allocations: 95.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6921, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002155/0.6924, allocations: 97.58 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.6924, allocations: 55.41 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.6925, allocations: 121.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.6925, allocations: 33.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.6926, allocations: 84.14 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.6926, allocations: 19.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.6927, allocations: 49.69 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.6928, allocations: 326.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.6929, allocations: 59.97 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.693, allocations: 88.25 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.6932, allocations: 160 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6932, allocations: 3.984 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003641/0.6936, allocations: 260.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.6937, allocations: 67.39 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6937, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6937, allocations: 7.938 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.6937, allocations: 12.05 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6937, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.6941, allocations: 51.88 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.6941, allocations: 15.98 kB / 1.022 GB, free: 12.98 MB / 0.7794 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 8.982e-05/0.6942, allocations: 122.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.6942, allocations: 11.91 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.6942, allocations: 8.375 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6942, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6942, allocations: 3.984 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6943, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.6944, allocations: 173.6 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6944, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-06/0.6944, allocations: 3.938 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6944, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.6944, allocations: 7.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6944, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6944, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.6945, allocations: 116.9 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.6946, allocations: 77.11 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.6946, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.6946, allocations: 8.062 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.6947, allocations: 7.984 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6947, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.6947, allocations: 99.2 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6947, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002234/0.695, allocations: 39.91 kB / 1.023 GB, free: 12.2 MB / 0.7794 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.000383/0.6953, allocations: 0.6453 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.6956, allocations: 246.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6957, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.6957, allocations: 28.39 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.6959, allocations: 16.14 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.6975, allocations: 1.725 MB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.6977, allocations: 0.6846 MB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.6978, allocations: 11.98 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.6978, allocations: 19.44 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6978, allocations: 0 / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.327/2.025, allocations: 2.757 MB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/2.025, allocations: 210.7 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/3.745, allocations: 0 / 1.029 GB, free: 5.746 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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