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.001238/0.001238, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001252/0.001252, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.281/1.281, 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 11.0.1-master/package.mo): time 2.437/2.437, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7585, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001847/0.7604, allocations: 0.6688 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.7617, allocations: 1.186 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.7618, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.7618, allocations: 7.938 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.7619, allocations: 11.86 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.7626, allocations: 214.2 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.7628, allocations: 187.7 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7629, allocations: 11.98 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.763, allocations: 63.91 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.7632, allocations: 67.77 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.7632, allocations: 16 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.7633, allocations: 31.98 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.7634, allocations: 4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.7635, allocations: 63.81 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.7637, allocations: 147.6 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7637, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7637, allocations: 3.938 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7637, allocations: 0 / 1.211 GB, free: 10.98 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.000518/0.7643, allocations: 436.5 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7643, allocations: 12.03 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.7644, allocations: 12.84 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.7645, allocations: 164.3 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.7645, allocations: 12.36 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.7645, allocations: 12.38 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.7647, allocations: 42.25 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.7647, allocations: 4.125 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.7647, allocations: 3.938 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7647, allocations: 4 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.7647, allocations: 15.98 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.7652, allocations: 352.7 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.7653, allocations: 30.52 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.7654, allocations: 20.94 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.7654, allocations: 3.938 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.7655, allocations: 79.38 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.7655, allocations: 0 / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002431/0.7658, allocations: 105.6 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.7658, allocations: 59.34 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.7659, allocations: 121.8 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.766, allocations: 29.7 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.7661, allocations: 96.05 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.7661, allocations: 7.906 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.7662, allocations: 57.67 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7663, allocations: 314.8 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.7664, allocations: 59.97 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.7666, allocations: 92.25 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.7668, allocations: 163.6 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7668, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003906/0.7672, allocations: 260.8 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.7672, allocations: 67.41 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7673, allocations: 0 / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7673, allocations: 12.05 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.076e-05/0.7673, allocations: 7.938 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.7673, allocations: 0 / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.7677, allocations: 59.78 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.7677, allocations: 15.98 kB / 1.214 GB, free: 7.996 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 9.925e-05/0.7678, allocations: 121.8 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.7678, allocations: 8 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.7679, allocations: 12.36 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7679, allocations: 480 / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7679, allocations: 0 / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7679, allocations: 0 / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.768, allocations: 181.5 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.768, allocations: 4.062 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.768, allocations: 11.88 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.768, allocations: 0 / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.7681, allocations: 4 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7681, allocations: 4 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7681, allocations: 0 / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.7682, allocations: 109.3 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.7683, allocations: 89 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.7683, allocations: 4 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.7683, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.7683, allocations: 4 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.7684, allocations: 7.984 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.7684, allocations: 87.28 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.523e-06/0.7684, allocations: 4 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000229/0.7687, allocations: 35.92 kB / 1.214 GB, free: 7.223 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.0001455/0.7688, allocations: 107.2 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.7691, allocations: 250.6 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7692, allocations: 0 / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.7692, allocations: 28.23 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.7694, allocations: 15.98 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.7698, allocations: 184.4 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.77, allocations: 0.6845 MB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.7701, allocations: 15.38 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.7701, allocations: 0 / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of Templates: time 0.003148/0.7732, allocations: 1.393 MB / 1.217 GB, free: 4.48 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