Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001544/0.001543, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001628/0.001628, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.044, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002123/1.046, allocations: 0.6454 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001748/1.048, allocations: 1.198 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/1.048, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/1.048, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.953e-05/1.048, allocations: 11.86 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/1.049, allocations: 218.7 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/1.049, allocations: 187.7 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/1.05, allocations: 7.984 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/1.05, allocations: 63.95 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/1.05, allocations: 63.78 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/1.05, allocations: 16 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/1.05, allocations: 35.92 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/1.05, allocations: 7.984 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/1.05, allocations: 59.83 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/1.05, allocations: 147.7 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.05, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.374e-06/1.05, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.05, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 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.0006311/1.051, allocations: 436.5 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.051, allocations: 15.97 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/1.051, allocations: 8.844 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.051, allocations: 168.3 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/1.051, allocations: 8.375 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.051, allocations: 12.31 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/1.052, allocations: 58.17 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.052, allocations: 192 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.052, allocations: 7.922 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.052, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/1.052, allocations: 12 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/1.052, allocations: 352.7 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/1.052, allocations: 42.44 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/1.052, allocations: 16.86 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/1.052, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/1.052, allocations: 79.45 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.052, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002717/1.053, allocations: 113.5 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/1.053, allocations: 55.41 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.053, allocations: 113.8 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/1.053, allocations: 33.7 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/1.053, allocations: 96.03 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/1.053, allocations: 7.906 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/1.053, allocations: 49.69 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.053, allocations: 322.8 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/1.053, allocations: 59.97 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/1.054, allocations: 95.38 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/1.054, allocations: 156.1 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.054, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004347/1.054, allocations: 268.7 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/1.054, allocations: 67.39 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.054, allocations: 4 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.054, allocations: 3.938 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/1.054, allocations: 4 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/1.054, allocations: 0 / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/1.055, allocations: 63.91 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/1.055, allocations: 19.98 kB / 1.214 GB, free: 7.961 MB / 0.9356 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.0001104/1.055, allocations: 125.8 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/1.055, allocations: 3.984 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/1.055, allocations: 12.38 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.055, allocations: 0 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.055, allocations: 0 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/1.055, allocations: 81.02 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/1.055, allocations: 11.94 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/1.055, allocations: 3.938 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/1.055, allocations: 11.98 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001602/1.055, allocations: 156.9 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001853/1.055, allocations: 250.7 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.605e-05/1.055, allocations: 31.91 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.612e-05/1.056, allocations: 95.27 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/1.056, allocations: 0 / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006494/1.056, allocations: 311 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006573/1.057, allocations: 0.5969 MB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.005113/1.062, allocations: 1.887 MB / 1.217 GB, free: 4.297 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches