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.0117/0.0117, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.002481/0.002481, allocations: 188.5 kB / 16.67 MB, free: 5.941 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.105, 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.002823/1.108, allocations: 0.6464 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001842/1.11, allocations: 1.194 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/1.11, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/1.11, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/1.11, allocations: 15.88 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/1.111, allocations: 213.7 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/1.111, allocations: 195.6 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/1.111, allocations: 8 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/1.111, allocations: 71.81 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/1.112, allocations: 63.84 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/1.112, allocations: 16 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/1.112, allocations: 23.98 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/1.112, allocations: 11.98 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/1.112, allocations: 59.83 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/1.112, allocations: 143.7 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.112, allocations: 3.938 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/1.112, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.112, allocations: 0 / 1.21 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.0006181/1.113, allocations: 436.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.113, allocations: 8.031 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/1.113, allocations: 12.84 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.113, allocations: 168.3 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/1.113, allocations: 8.375 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/1.113, allocations: 16.31 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/1.113, allocations: 46.23 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.113, allocations: 8.172 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/1.113, allocations: 7.938 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.113, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/1.113, allocations: 15.98 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/1.114, allocations: 344.7 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/1.114, allocations: 46.45 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/1.114, allocations: 12.94 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/1.114, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/1.114, allocations: 83.36 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.114, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002683/1.114, allocations: 105.5 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/1.115, allocations: 55.41 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.115, allocations: 125.8 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/1.115, allocations: 29.7 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/1.115, allocations: 92.05 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/1.115, allocations: 15.89 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.115, allocations: 45.69 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.115, allocations: 322.8 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.115, allocations: 59.97 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/1.115, allocations: 99.88 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/1.116, allocations: 155.6 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.116, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004063/1.116, allocations: 264.8 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/1.116, allocations: 67.39 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.116, allocations: 3.938 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.116, allocations: 4 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/1.116, allocations: 4 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/1.116, allocations: 7.984 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/1.116, allocations: 59.91 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.117, allocations: 8 kB / 1.213 GB, free: 7.969 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.0001091/1.117, allocations: 132.8 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/1.117, allocations: 4 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/1.117, allocations: 8.375 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.117, allocations: 4 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.117, allocations: 0 / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.117, allocations: 4 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/1.117, allocations: 193.5 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.117, allocations: 0 / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/1.117, allocations: 0 / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.117, allocations: 0 / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/1.117, allocations: 4 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.117, allocations: 0 / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.117, allocations: 0 / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/1.117, allocations: 113 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/1.117, allocations: 81.02 kB / 1.213 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/1.117, allocations: 7.938 kB / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/1.117, allocations: 3.984 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/1.117, allocations: 4 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.117, allocations: 8 kB / 1.213 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.562e-05/1.117, allocations: 91.27 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.117, allocations: 0 / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002313/1.118, allocations: 28 kB / 1.214 GB, free: 7.199 MB / 0.9356 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.0001667/1.118, allocations: 107.2 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003316/1.118, allocations: 250.6 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.118, allocations: 0 / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.234e-05/1.118, allocations: 24 kB / 1.214 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/1.118, allocations: 15.92 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/1.119, allocations: 159.2 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/1.119, allocations: 0.6965 MB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.762e-05/1.119, allocations: 4 kB / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/1.119, allocations: 11.44 kB / 1.215 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/1.119, allocations: 288 / 1.215 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of Templates: time 0.004477/1.124, allocations: 1.91 MB / 1.217 GB, free: 3.969 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/jenkins/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