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.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, 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.00122/0.00122, allocations: 195.5 kB / 16.26 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.469 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.671/2.671, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001466, allocations: 68.03 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6859, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002172/0.6881, allocations: 0.7225 MB / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.6899, allocations: 1.179 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.6899, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.69, allocations: 7.922 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.6901, allocations: 11.94 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.6907, allocations: 199.5 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.691, allocations: 183.7 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.6911, allocations: 12 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.6913, allocations: 67.88 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.6914, allocations: 51.86 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.6914, allocations: 16 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.6915, allocations: 27.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.6915, allocations: 7.938 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.6916, allocations: 55.89 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.6918, allocations: 147.5 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6919, allocations: 4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6919, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.6919, allocations: 4 kB / 1.019 GB, free: 132 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.0005816/0.6925, allocations: 440.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.6925, allocations: 8.031 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.6926, allocations: 16.78 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.6927, allocations: 172.3 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.6927, allocations: 4.375 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.6928, allocations: 8.375 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.6929, allocations: 54.25 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6929, allocations: 192 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.693, allocations: 7.922 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.693, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.693, allocations: 15.94 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.6936, allocations: 348.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.6937, allocations: 46.5 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.6938, allocations: 12.86 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.6938, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.694, allocations: 83.41 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.694, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002565/0.6943, allocations: 101.6 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.6943, allocations: 55.41 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.6944, allocations: 121.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.6945, allocations: 29.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.6945, allocations: 92.12 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.6946, allocations: 19.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.6947, allocations: 49.69 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6948, allocations: 318.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.6949, allocations: 59.95 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.6951, allocations: 93.27 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.6953, allocations: 160 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6953, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004371/0.6957, allocations: 264.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.6958, allocations: 73.2 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.6958, allocations: 7.984 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6959, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.593e-05/0.6959, allocations: 7.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6959, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.6963, allocations: 56 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.6963, allocations: 15.98 kB / 1.022 GB, free: 13.13 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 0.000118/0.6964, allocations: 124.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.6965, allocations: 11.89 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.6965, allocations: 4.438 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6965, allocations: 8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6965, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.6965, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.6967, allocations: 181.6 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6967, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.6967, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6967, allocations: 3.938 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6967, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6968, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6968, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.6969, allocations: 117.2 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.697, allocations: 81.02 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.697, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.697, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.6971, allocations: 7.984 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6971, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.6972, allocations: 95.2 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6972, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002365/0.6974, allocations: 28 kB / 1.023 GB, free: 12.37 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.0001933/0.6976, allocations: 119.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.698, allocations: 258.7 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.698, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.698, allocations: 20 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.6983, allocations: 15.98 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.6986, allocations: 174.9 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.699, allocations: 0.6923 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.699, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.699, allocations: 11.44 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.699, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of Templates: time 0.005061/0.7041, allocations: 1.827 MB / 1.026 GB, free: 9.191 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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