Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 200.4 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.798, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001801/0.7998, allocations: 0.6433 MB / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.8015, allocations: 1.194 MB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.8016, allocations: 0 / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.8016, allocations: 3.938 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.235e-05/0.8017, allocations: 23.78 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.8024, allocations: 218.6 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.8027, allocations: 167.7 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.8028, allocations: 19.97 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.803, allocations: 63.89 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.8031, allocations: 59.84 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.8032, allocations: 16 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.8033, allocations: 35.92 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.8033, allocations: 4 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.8034, allocations: 59.81 kB / 1.277 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.8036, allocations: 158.2 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8036, allocations: 3.984 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8036, allocations: 0 / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8036, allocations: 0 / 1.277 GB, free: 1.922 MB / 0.9669 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.0006402/0.8043, allocations: 437.1 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8043, allocations: 12.03 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.8044, allocations: 12.89 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.8045, allocations: 164.4 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.8045, allocations: 4.375 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.8046, allocations: 16.38 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.8047, allocations: 50.17 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.8047, allocations: 192 / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.8047, allocations: 7.922 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8047, allocations: 4 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.8048, allocations: 12 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.8053, allocations: 356.7 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.383e-05/0.8054, allocations: 38.44 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.8054, allocations: 12.86 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.8054, allocations: 0 / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.8056, allocations: 96.98 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.8056, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002602/0.8059, allocations: 105.5 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.8059, allocations: 55.41 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.806, allocations: 117.8 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.8061, allocations: 33.7 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.8061, allocations: 92.08 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.8062, allocations: 19.91 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.8063, allocations: 45.69 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8064, allocations: 322.8 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.8066, allocations: 63.95 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.8067, allocations: 88.27 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.8069, allocations: 159.6 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8069, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004488/0.8074, allocations: 268.8 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.8075, allocations: 75.33 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8075, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.8075, allocations: 8.125 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.482e-05/0.8075, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.8075, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.8079, allocations: 60.3 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.8079, allocations: 11.98 kB / 1.279 GB, free: 14.92 MB / 0.9825 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.0001248/0.8081, allocations: 126.3 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.8081, allocations: 7.953 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.8081, allocations: 8.375 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8081, allocations: 7.922 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8081, allocations: 3.938 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8081, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.8083, allocations: 173.6 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8083, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.8083, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8083, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.8083, allocations: 7.984 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8083, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8083, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.8085, allocations: 109 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.8085, allocations: 81.11 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.8085, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.8086, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.8086, allocations: 7.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.8086, allocations: 4.062 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.8087, allocations: 99.2 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8087, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002409/0.8089, allocations: 28 kB / 1.28 GB, free: 14.16 MB / 0.9825 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.0001514/0.8091, allocations: 103.2 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.8094, allocations: 230.6 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8094, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.8095, allocations: 20.23 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.8097, allocations: 19.92 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.8101, allocations: 178.5 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.8104, allocations: 0.6846 MB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.8104, allocations: 4.281 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.8105, allocations: 11.44 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8105, allocations: 4 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of Templates: time 0.005007/0.8155, allocations: 1.857 MB / 1.283 GB, free: 11 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.674473041202873]