Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001627/0.001626, allocations: 107.8 kB / 16.41 MB, free: 6.512 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.001624/0.001624, allocations: 187 kB / 17.34 MB, free: 5.742 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7997, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001947/0.8017, allocations: 0.6638 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.8031, allocations: 1.192 MB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.8032, allocations: 1.094 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.8032, allocations: 4.453 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.8033, allocations: 12.19 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.804, allocations: 210.8 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.8043, allocations: 191.2 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.8044, allocations: 7.359 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.8045, allocations: 71 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.8046, allocations: 57.36 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.8047, allocations: 15.72 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.8048, allocations: 33.38 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.8048, allocations: 13.45 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.8049, allocations: 51.83 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.8051, allocations: 152.3 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8051, allocations: 4 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8052, allocations: 0 / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.8052, allocations: 1.094 kB / 1.091 GB, free: 3.883 MB / 0.8575 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.0004466/0.8056, allocations: 428.9 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.8057, allocations: 9.344 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.8057, allocations: 13.36 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.8058, allocations: 172.3 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.8058, allocations: 5.938 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.8059, allocations: 17.5 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.806, allocations: 52.88 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.806, allocations: 1.156 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.806, allocations: 8.719 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.806, allocations: 1.406 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.8061, allocations: 13.52 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.8065, allocations: 354.2 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.8066, allocations: 34.78 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.8066, allocations: 24.14 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.8067, allocations: 0 / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.8068, allocations: 82.03 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8069, allocations: 4.719 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000256/0.8071, allocations: 99.36 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.8072, allocations: 53.75 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.8073, allocations: 116 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.8073, allocations: 38.16 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.8074, allocations: 90.22 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.8074, allocations: 15.75 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.8075, allocations: 48.77 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.8076, allocations: 322.4 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.8077, allocations: 60.31 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.8079, allocations: 100.7 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.8081, allocations: 155.1 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8081, allocations: 0 / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004218/0.8085, allocations: 270.6 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.8086, allocations: 68.61 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.8086, allocations: 1.391 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8086, allocations: 1.906 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.49e-05/0.8086, allocations: 2.906 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.8087, allocations: 2.188 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.809, allocations: 55.94 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.8091, allocations: 20.11 kB / 1.094 GB, free: 1.598 MB / 0.8575 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 8.891e-05/0.8092, allocations: 130.4 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.8092, allocations: 3.062 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.8092, allocations: 10.02 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8092, allocations: 0.9375 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8092, allocations: 1.531 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8093, allocations: 0.5625 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.8094, allocations: 174.6 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8094, allocations: 0.7188 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.8094, allocations: 5.672 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8094, allocations: 0.75 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8094, allocations: 6.359 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.8094, allocations: 5.797 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8094, allocations: 0 / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.8096, allocations: 123.6 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.8096, allocations: 83.7 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8096, allocations: 2.125 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.8097, allocations: 4.719 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.8097, allocations: 9.484 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.8097, allocations: 3.391 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.8098, allocations: 89.94 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8098, allocations: 0.875 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002607/0.81, allocations: 27.61 kB / 1.095 GB, free: 0.9727 MB / 0.8575 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.0001442/0.8102, allocations: 105.1 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.8105, allocations: 249 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8105, allocations: 4.594 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.8106, allocations: 31.53 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.8108, allocations: 16.47 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.8112, allocations: 186.6 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.8114, allocations: 0.6898 MB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.8114, allocations: 11.12 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8114, allocations: 0.7188 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.004257/0.8157, allocations: 1.386 MB / 1.097 GB, free: 15.67 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches