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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.258 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.794/2.794, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 71.88 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.897/0.8986, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002639/0.9013, allocations: 0.6677 MB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.9033, allocations: 1.183 MB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.9034, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.9035, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.9036, allocations: 19.86 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.9045, allocations: 213.3 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.9047, allocations: 175.7 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.9049, allocations: 11.98 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.905, allocations: 75.88 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.9052, allocations: 47.88 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.9052, allocations: 16 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.9053, allocations: 31.97 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.9054, allocations: 11.94 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.9055, allocations: 51.95 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.9057, allocations: 151.5 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9058, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9058, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.9058, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 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.0006327/0.9064, allocations: 448.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.9065, allocations: 8.031 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.9066, allocations: 8.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.9067, allocations: 176.2 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.9067, allocations: 4.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.9068, allocations: 8.375 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.9069, allocations: 46.25 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.9069, allocations: 192 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.9069, allocations: 7.938 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.907, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.907, allocations: 27.86 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.9075, allocations: 344.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.587e-05/0.9076, allocations: 34.52 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.9077, allocations: 16.94 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.9077, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.9078, allocations: 95.2 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.9079, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002626/0.9081, allocations: 93.67 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.9082, allocations: 55.41 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9083, allocations: 125.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.9083, allocations: 33.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.9084, allocations: 84.14 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.9084, allocations: 23.78 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.9085, allocations: 49.69 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9087, allocations: 322.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.9088, allocations: 55.97 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.909, allocations: 95.38 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.9092, allocations: 159.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9092, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004237/0.9096, allocations: 269.3 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.9097, allocations: 67.34 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.9097, allocations: 3.984 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9097, allocations: 4.125 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.593e-05/0.9097, allocations: 7.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9098, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.9101, allocations: 55.81 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.9102, allocations: 15.98 kB / 1.022 GB, free: 12.8 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.000113/0.9103, allocations: 121.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.9103, allocations: 11.91 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.9104, allocations: 12.36 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9104, allocations: 4 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9104, allocations: 3.984 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9104, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.9105, allocations: 173.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9105, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.9106, allocations: 7.922 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9106, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.9106, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9106, allocations: 8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9106, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.9108, allocations: 112.9 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.9108, allocations: 81.11 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.9109, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.9109, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.9109, allocations: 7.984 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.9109, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.911, allocations: 95.27 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.911, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002461/0.9113, allocations: 32 kB / 1.023 GB, free: 12.04 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.0001783/0.9114, allocations: 103.5 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.9118, allocations: 246.6 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9118, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.9119, allocations: 27.92 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.9121, allocations: 22.97 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.9125, allocations: 170.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.9128, allocations: 0.6846 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.9128, allocations: 8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.9129, allocations: 11.44 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.655e-06/0.9129, allocations: 0 / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.004933/0.9178, allocations: 1.84 MB / 1.026 GB, free: 8.875 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