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.00721/0.00721, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001646/0.001646, allocations: 195.3 kB / 16.68 MB, free: 5.523 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.456/2.456, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 63.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002045/1.087, allocations: 0.6609 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001592/1.088, allocations: 1.187 MB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/1.088, allocations: 0.7188 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/1.088, allocations: 4.5 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/1.089, allocations: 15.33 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/1.089, allocations: 212 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/1.09, allocations: 186.9 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/1.09, allocations: 11.44 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/1.09, allocations: 66.77 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/1.09, allocations: 65.66 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/1.09, allocations: 15.81 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/1.09, allocations: 29.16 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/1.09, allocations: 12.59 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/1.09, allocations: 57.89 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/1.09, allocations: 154.2 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.09, allocations: 0 / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/1.09, allocations: 1.094 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.091, allocations: 0 / 1.091 GB, free: 3.887 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.0005123/1.091, allocations: 432.7 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.091, allocations: 10.16 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/1.091, allocations: 11.69 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/1.091, allocations: 177 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.091, allocations: 5.578 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/1.091, allocations: 12.91 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.091, allocations: 49.81 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.091, allocations: 1 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.091, allocations: 4.5 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/1.091, allocations: 4.75 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/1.092, allocations: 14.2 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/1.092, allocations: 345.8 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.093e-05/1.092, allocations: 35.52 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/1.092, allocations: 24.03 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/1.092, allocations: 0.6875 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/1.092, allocations: 89.55 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/1.092, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002308/1.093, allocations: 100.4 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/1.093, allocations: 54 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/1.093, allocations: 131.5 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/1.093, allocations: 34.56 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/1.093, allocations: 90.12 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/1.093, allocations: 10.73 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/1.093, allocations: 49.05 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/1.093, allocations: 323.1 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/1.093, allocations: 60.11 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/1.093, allocations: 92.67 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/1.094, allocations: 155 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.094, allocations: 1.094 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004459/1.094, allocations: 264.9 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/1.094, allocations: 68.97 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.094, allocations: 0.9688 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/1.094, allocations: 2.281 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/1.094, allocations: 6.875 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.094, allocations: 2.062 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/1.094, allocations: 60.86 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/1.095, allocations: 11 kB / 1.093 GB, free: 1.605 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 7.836e-05/1.095, allocations: 126.6 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/1.095, allocations: 6.891 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/1.095, allocations: 10.83 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.095, allocations: 2.281 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/1.095, allocations: 0 / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.095, allocations: 4.641 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/1.095, allocations: 179 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/1.095, allocations: 4.781 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/1.095, allocations: 10.02 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.095, allocations: 0.8438 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/1.095, allocations: 1.828 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/1.095, allocations: 5.672 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.095, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/1.095, allocations: 111.6 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/1.095, allocations: 83.16 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/1.095, allocations: 10.27 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/1.095, allocations: 0.9375 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/1.095, allocations: 6.188 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/1.095, allocations: 7.062 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.771e-05/1.095, allocations: 89.86 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.095, allocations: 0 / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002641/1.095, allocations: 31.83 kB / 1.094 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.0001407/1.096, allocations: 114.1 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003439/1.096, allocations: 252.1 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/1.096, allocations: 0 / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/1.096, allocations: 26.66 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/1.096, allocations: 16.28 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/1.097, allocations: 161.2 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/1.097, allocations: 0.6897 MB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.503e-05/1.097, allocations: 9.188 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/1.097, allocations: 11.97 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.097, allocations: 0 / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.00511/1.102, allocations: 1.843 MB / 1.097 GB, free: 15.66 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/jenkins/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