Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Nand,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001107/0.001107, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.331/2.331, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6842, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001858/0.6861, allocations: 0.7266 MB / 1.017 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.6874, allocations: 1.202 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.6875, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.6875, allocations: 3.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.6876, allocations: 11.92 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.6881, allocations: 199.4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.6882, allocations: 151.7 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.6883, allocations: 12 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.6884, allocations: 63.88 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.6885, allocations: 47.88 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.6885, allocations: 8 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.6886, allocations: 19.98 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.6886, allocations: 7.984 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.6887, allocations: 51.83 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.6889, allocations: 145.9 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6889, allocations: 7.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.91e-07/0.6889, allocations: 3.938 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6889, allocations: 0 / 1.019 GB, free: 64 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.0005084/0.6895, allocations: 430.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6895, allocations: 12.03 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.6895, allocations: 30.75 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.6896, allocations: 20.83 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.6897, allocations: 172.3 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6897, allocations: 4.375 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.6898, allocations: 8.375 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.6899, allocations: 54.23 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6899, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6899, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6899, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.69, allocations: 15.94 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.6904, allocations: 348.7 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.6905, allocations: 50.5 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.6905, allocations: 12.86 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-06/0.6905, allocations: 0 / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.6907, allocations: 87.38 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.6907, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002168/0.6909, allocations: 97.58 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.691, allocations: 51.41 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.691, allocations: 125.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.6911, allocations: 29.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.6911, allocations: 92.12 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.6912, allocations: 19.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.6913, allocations: 45.69 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.6914, allocations: 326.8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.6915, allocations: 51.97 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.6916, allocations: 104.2 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.6918, allocations: 151.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6918, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003895/0.6922, allocations: 269.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.6923, allocations: 67.39 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6923, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6923, allocations: 7.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.6923, allocations: 3.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6923, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.6927, allocations: 59.98 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.6927, allocations: 12 kB / 1.022 GB, free: 13.02 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,nand1.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.722e-05/0.6928, allocations: 126.3 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.6929, allocations: 7.906 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.6929, allocations: 4.375 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6929, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6929, allocations: 8.062 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6929, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.6931, allocations: 181.6 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6931, allocations: 4 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.6931, allocations: 3.938 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.6931, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6931, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6931, allocations: 4 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6931, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.6933, allocations: 112.9 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.6933, allocations: 85.02 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.6933, allocations: 7.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.6934, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.6934, allocations: 8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6934, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.6935, allocations: 91.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6935, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002214/0.6937, allocations: 28 kB / 1.023 GB, free: 12.27 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,nand1.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.0004357/0.6941, allocations: 0.6556 MB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.6945, allocations: 239.2 kB / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6945, allocations: 0 / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.6945, allocations: 35.86 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.6948, allocations: 20.23 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.6966, allocations: 1.714 MB / 1.025 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6969, allocations: 0.6887 MB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.6969, allocations: 4 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.697, allocations: 23.42 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.697, allocations: 0 / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.7095, allocations: 2.67 MB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.7097, allocations: 204 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.257, allocations: 0 / 1.029 GB, free: 5.879 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches